Class CCMCreateTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.optional.ccm.Continuus
org.apache.tools.ant.taskdefs.optional.ccm.CCMCreateTask
- All Implemented Interfaces:
- Cloneable,- ExecuteStreamHandler
Creates new Continuus ccm task and sets it as the default.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final String/comment -- comments associated to the taskstatic final String/platform flag -- target platformstatic final String/release flagstatic final String/resolver flagstatic final String/release flagstatic final String-task flag -- associate checkout task with taskFields inherited from class org.apache.tools.ant.taskdefs.optional.ccm.ContinuusCOMMAND_CHECKIN, COMMAND_CHECKOUT, COMMAND_CREATE_TASK, COMMAND_DEFAULT_TASK, COMMAND_RECONFIGUREFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecute()Executes the task.Get the value of comment.Get the value of platform.Get the value of release.Get the value of resolver.Get the value of subSystem.getTask()Get the value of task.voidsetComment(String v) Specifies a comment.voidSpecifies the target platform.voidInstall a handler for the error stream of the subprocess.voidsetProcessInputStream(OutputStream param1) Install a handler for the input stream of the subprocess.voidread the output stream to retrieve the new task number.voidsetRelease(String v) Specify the CCM release.voidSpecifies the resolver.voidSpecifies the subsystem.voidSpecifies the task number used to checkin the file (may use 'default').voidstart()Start handling of the streams.voidstop()Stop handling of the streams - will not be restarted.Methods inherited from class org.apache.tools.ant.taskdefs.optional.ccm.ContinuusgetCcmAction, getCcmCommand, run, run, setCcmAction, setCcmDirMethods inherited from class org.apache.tools.ant.TaskbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
- 
Field Details- 
FLAG_COMMENT/comment -- comments associated to the task- See Also:
 
- 
FLAG_PLATFORM/platform flag -- target platform- See Also:
 
- 
FLAG_RESOLVER/resolver flag- See Also:
 
- 
FLAG_RELEASE/release flag- See Also:
 
- 
FLAG_SUBSYSTEM/release flag- See Also:
 
- 
FLAG_TASK-task flag -- associate checkout task with task- See Also:
 
 
- 
- 
Constructor Details- 
CCMCreateTaskpublic CCMCreateTask()Constructor for CCMCreateTask.
 
- 
- 
Method Details- 
executeExecutes the task.Builds a command line to execute ccm and then calls Exec's run method to execute the command line. - Overrides:
- executein class- Task
- Throws:
- BuildException- on error
 
- 
getCommentGet the value of comment.- Returns:
- value of comment.
 
- 
setCommentSpecifies a comment.- Parameters:
- v- Value to assign to comment.
 
- 
getPlatformGet the value of platform.- Returns:
- value of platform.
 
- 
setPlatformSpecifies the target platform.- Parameters:
- v- Value to assign to platform.
 
- 
getResolverGet the value of resolver.- Returns:
- value of resolver.
 
- 
setResolverSpecifies the resolver.- Parameters:
- v- Value to assign to resolver.
 
- 
getReleaseGet the value of release.- Returns:
- value of release.
 
- 
setReleaseSpecify the CCM release.- Parameters:
- v- Value to assign to release.
 
- 
getSubSystemGet the value of subSystem.- Returns:
- value of subSystem.
 
- 
setSubSystemSpecifies the subsystem.- Parameters:
- v- Value to assign to subSystem.
 
- 
getTaskGet the value of task.- Returns:
- value of task.
 
- 
setTaskSpecifies the task number used to checkin the file (may use 'default').- Parameters:
- v- Value to assign to task.
 
- 
startDescription copied from interface:ExecuteStreamHandlerStart handling of the streams.- Specified by:
- startin interface- ExecuteStreamHandler
- Throws:
- IOException- on error
 
- 
stoppublic void stop()Description copied from interface:ExecuteStreamHandlerStop handling of the streams - will not be restarted.- Specified by:
- stopin interface- ExecuteStreamHandler
 
- 
setProcessInputStreamDescription copied from interface:ExecuteStreamHandlerInstall a handler for the input stream of the subprocess.- Specified by:
- setProcessInputStreamin interface- ExecuteStreamHandler
- Parameters:
- param1- the output stream
- Throws:
- IOException- on error
 
- 
setProcessErrorStreamDescription copied from interface:ExecuteStreamHandlerInstall a handler for the error stream of the subprocess.- Specified by:
- setProcessErrorStreamin interface- ExecuteStreamHandler
- Parameters:
- is- the input stream
- Throws:
- IOException- on error
 
- 
setProcessOutputStreamread the output stream to retrieve the new task number.- Specified by:
- setProcessOutputStreamin interface- ExecuteStreamHandler
- Parameters:
- is- InputStream
- Throws:
- IOException- on error
 
 
-