public class CCMCreateTask extends Continuus implements ExecuteStreamHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FLAG_COMMENT
/comment -- comments associated to the task
|
static java.lang.String |
FLAG_PLATFORM
/platform flag -- target platform
|
static java.lang.String |
FLAG_RELEASE
/release flag
|
static java.lang.String |
FLAG_RESOLVER
/resolver flag
|
static java.lang.String |
FLAG_SUBSYSTEM
/release flag
|
static java.lang.String |
FLAG_TASK
-task flag -- associate checkout task with task
|
COMMAND_CHECKIN, COMMAND_CHECKOUT, COMMAND_CREATE_TASK, COMMAND_DEFAULT_TASK, COMMAND_RECONFIGUREdescription, location, project| Constructor and Description |
|---|
CCMCreateTask()
Constructor for CCMCreateTask.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the task.
|
java.lang.String |
getComment()
Get the value of comment.
|
java.lang.String |
getPlatform()
Get the value of platform.
|
java.lang.String |
getRelease()
Get the value of release.
|
java.lang.String |
getResolver()
Get the value of resolver.
|
java.lang.String |
getSubSystem()
Get the value of subSystem.
|
java.lang.String |
getTask()
Get the value of task.
|
void |
setComment(java.lang.String v)
Specifies a comment.
|
void |
setPlatform(java.lang.String v)
Specifies the target platform.
|
void |
setProcessErrorStream(java.io.InputStream is)
Install a handler for the error stream of the subprocess.
|
void |
setProcessInputStream(java.io.OutputStream param1)
Install a handler for the input stream of the subprocess.
|
void |
setProcessOutputStream(java.io.InputStream is)
read the output stream to retrieve the new task number.
|
void |
setRelease(java.lang.String v)
Specify the CCM release.
|
void |
setResolver(java.lang.String v)
Specifies the resolver.
|
void |
setSubSystem(java.lang.String v)
Specifies the subsystem.
|
void |
setTask(java.lang.String v)
Specifies the task number used to checkin
the file (may use 'default').
|
void |
start()
Start handling of the streams.
|
void |
stop()
Stop handling of the streams - will not be restarted.
|
getCcmAction, getCcmCommand, run, run, setCcmAction, setCcmDirbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic static final java.lang.String FLAG_COMMENT
public static final java.lang.String FLAG_PLATFORM
public static final java.lang.String FLAG_RESOLVER
public static final java.lang.String FLAG_RELEASE
public static final java.lang.String FLAG_SUBSYSTEM
public static final java.lang.String FLAG_TASK
public void execute()
throws BuildException
Builds a command line to execute ccm and then calls Exec's run method to execute the command line.
execute in class TaskBuildException - on errorpublic java.lang.String getComment()
public void setComment(java.lang.String v)
v - Value to assign to comment.public java.lang.String getPlatform()
public void setPlatform(java.lang.String v)
v - Value to assign to platform.public java.lang.String getResolver()
public void setResolver(java.lang.String v)
v - Value to assign to resolver.public java.lang.String getRelease()
public void setRelease(java.lang.String v)
v - Value to assign to release.public java.lang.String getSubSystem()
public void setSubSystem(java.lang.String v)
v - Value to assign to subSystem.public java.lang.String getTask()
public void setTask(java.lang.String v)
v - Value to assign to task.public void start()
throws java.io.IOException
ExecuteStreamHandlerstart in interface ExecuteStreamHandlerjava.io.IOException - on errorpublic void stop()
ExecuteStreamHandlerstop in interface ExecuteStreamHandlerpublic void setProcessInputStream(java.io.OutputStream param1)
throws java.io.IOException
ExecuteStreamHandlersetProcessInputStream in interface ExecuteStreamHandlerparam1 - the output streamjava.io.IOException - on errorpublic void setProcessErrorStream(java.io.InputStream is)
throws java.io.IOException
ExecuteStreamHandlersetProcessErrorStream in interface ExecuteStreamHandleris - the input streamjava.io.IOException - on errorpublic void setProcessOutputStream(java.io.InputStream is)
throws java.io.IOException
setProcessOutputStream in interface ExecuteStreamHandleris - InputStreamjava.io.IOException - on error