org.apache.tools.ant.taskdefs.optional.ccm
Class CCMCreateTask
- ExecuteStreamHandler
public class CCMCreateTask
Creates new Continuus ccm task and sets it as the default.
execute , getDescription , getLocation , getOwningTarget , getRuntimeConfigurableWrapper , getTaskName , getTaskType , getWrapper , handleErrorFlush , handleErrorOutput , handleFlush , handleInput , handleOutput , init , isInvalid , log , log , maybeConfigure , perform , reconfigure , setDescription , setLocation , setOwningTarget , setRuntimeConfigurableWrapper , setTaskName , setTaskType |
FLAG_COMMENT
public static final String FLAG_COMMENT
/comment -- comments associated to the task
FLAG_PLATFORM
public static final String FLAG_PLATFORM
/platform flag -- target platform
FLAG_RELEASE
public static final String FLAG_RELEASE
/release flag
FLAG_RESOLVER
public static final String FLAG_RESOLVER
/resolver flag
FLAG_SUBSYSTEM
public static final String FLAG_SUBSYSTEM
/release flag
FLAG_TASK
public static final String FLAG_TASK
-task flag -- associate checkout task with task
CCMCreateTask
public CCMCreateTask()
Sole constructor.
execute
public void execute()
throws BuildException
Executes the task.
Builds a command line to execute ccm and then calls Exec's run method
to execute the command line.
- execute in interface Task
getComment
public String getComment()
Get the value of comment.
- value of comment.
getPlatform
public String getPlatform()
Get the value of platform.
- value of platform.
getRelease
public String getRelease()
Get the value of release.
- value of release.
getResolver
public String getResolver()
Get the value of resolver.
- value of resolver.
getSubSystem
public String getSubSystem()
Get the value of subSystem.
- value of subSystem.
getTask
public String getTask()
Get the value of task.
- value of task.
setComment
public void setComment(String v)
Specifies a comment.
v
- Value to assign to comment.
setPlatform
public void setPlatform(String v)
Specifies the target platform.
v
- Value to assign to platform.
setProcessOutputStream
public void setProcessOutputStream(InputStream is)
throws IOException
read the output stream to retrieve the new task number.
- setProcessOutputStream in interface ExecuteStreamHandler
is
- InputStream
setRelease
public void setRelease(String v)
Specify the CCM release.
v
- Value to assign to release.
setResolver
public void setResolver(String v)
Specifies the resolver.
v
- Value to assign to resolver.
setSubSystem
public void setSubSystem(String v)
Specifies the subsystem.
v
- Value to assign to subSystem.
setTask
public void setTask(String v)
Specifies the task number used to checkin
the file (may use 'default').
v
- Value to assign to task.
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.