Class CCMCheck
- 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.CCMCheck
 
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Cloneable
 - Direct Known Subclasses:
- CCMCheckin,- CCMCheckinDefault,- CCMCheckout
 
 public class CCMCheck extends Continuus Class common to all check commands (checkout, checkin,checkin default task);
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.Vector<FileSet>filesetsstatic java.lang.StringFLAG_COMMENT-comment flag -- comment to attach to the filestatic java.lang.StringFLAG_TASK-task flag -- associate checkout task with task- 
Fields inherited from class org.apache.tools.ant.taskdefs.optional.ccm.ContinuusCOMMAND_CHECKIN, COMMAND_CHECKOUT, COMMAND_CREATE_TASK, COMMAND_DEFAULT_TASK, COMMAND_RECONFIGURE
 - 
Fields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
 
- 
 - 
Constructor SummaryConstructors Constructor Description CCMCheck()
 - 
Method SummaryModifier and Type Method Description voidaddFileset(FileSet set)Adds a set of files to copy.voidexecute()Executes the task.java.lang.StringgetComment()Get the value of comment.java.io.FilegetFile()Get the value of file.java.lang.StringgetTask()Get the value of task.voidsetComment(java.lang.String v)Specifies a comment.voidsetFile(java.io.File v)Sets the path to the file that the command will operate on.voidsetTask(java.lang.String v)Specifies the task number used to check in the file (may use 'default').- 
Methods inherited from class org.apache.tools.ant.taskdefs.optional.ccm.ContinuusgetCcmAction, getCcmCommand, run, run, setCcmAction, setCcmDir
 - 
Methods 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, setTaskType
 - 
Methods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
- 
 
- 
- 
- 
Field Detail- 
FLAG_COMMENTpublic static final java.lang.String FLAG_COMMENT -comment flag -- comment to attach to the file- See Also:
- Constant Field Values
 
 - 
FLAG_TASKpublic static final java.lang.String FLAG_TASK -task flag -- associate checkout task with task- See Also:
- Constant Field Values
 
 - 
filesetsprotected java.util.Vector<FileSet> filesets 
 
- 
 - 
Method Detail- 
getFilepublic java.io.File getFile() Get the value of file.- Returns:
- value of file.
 
 - 
setFilepublic void setFile(java.io.File v) Sets the path to the file that the command will operate on.- Parameters:
- v- Value to assign to file.
 
 - 
getCommentpublic java.lang.String getComment() Get the value of comment.- Returns:
- value of comment.
 
 - 
setCommentpublic void setComment(java.lang.String v) Specifies a comment.- Parameters:
- v- Value to assign to comment.
 
 - 
getTaskpublic java.lang.String getTask() Get the value of task.- Returns:
- value of task.
 
 - 
setTaskpublic void setTask(java.lang.String v) Specifies the task number used to check in the file (may use 'default').- Parameters:
- v- Value to assign to task.
 
 - 
addFilesetpublic void addFileset(FileSet set) Adds a set of files to copy.- Parameters:
- set- the set of files
 
 - 
executepublic void execute() throws BuildExceptionExecutes 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
 
 
- 
 
-