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:
Cloneable
- Direct Known Subclasses:
CCMCheckin,CCMCheckinDefault,CCMCheckout
Class common to all check commands (checkout, checkin,checkin default task);
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String-comment flag -- comment to attach to the filestatic final String-task flag -- associate checkout task with taskFields inherited from class org.apache.tools.ant.taskdefs.optional.ccm.Continuus
COMMAND_CHECKIN, COMMAND_CHECKOUT, COMMAND_CREATE_TASK, COMMAND_DEFAULT_TASK, COMMAND_RECONFIGUREFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFileset(FileSet set) Adds a set of files to copy.voidexecute()Executes the task.Get the value of comment.getFile()Get the value of file.getTask()Get the value of task.voidsetComment(String v) Specifies a comment.voidSets the path to the file that the command will operate on.voidSpecifies the task number used to check in the file (may use 'default').Methods inherited from class org.apache.tools.ant.taskdefs.optional.ccm.Continuus
getCcmAction, getCcmCommand, run, run, setCcmAction, setCcmDirMethods inherited from class org.apache.tools.ant.Task
bindToOwner, 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.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Field Details
-
FLAG_COMMENT
-comment flag -- comment to attach to the file- See Also:
-
FLAG_TASK
-task flag -- associate checkout task with task- See Also:
-
filesets
-
-
Constructor Details
-
CCMCheck
public CCMCheck()
-
-
Method Details
-
getFile
Get the value of file.- Returns:
- value of file.
-
setFile
Sets the path to the file that the command will operate on.- Parameters:
v- Value to assign to file.
-
getComment
Get the value of comment.- Returns:
- value of comment.
-
setComment
Specifies a comment.- Parameters:
v- Value to assign to comment.
-
getTask
Get the value of task.- Returns:
- value of task.
-
setTask
Specifies the task number used to check in the file (may use 'default').- Parameters:
v- Value to assign to task.
-
addFileset
Adds a set of files to copy.- Parameters:
set- the set of files
-
execute
Executes the task.Builds a command line to execute ccm and then calls Exec's run method to execute the command line.
- Overrides:
executein classTask- Throws:
BuildException- on error
-