org.apache.tools.ant.taskdefs.optional.ccm
Class CCMCheck
Class common to all check commands (checkout, checkin,checkin default task);
static String | FLAG_COMMENT- -comment flag -- comment to attach to the file
|
static String | FLAG_TASK- -task flag -- associate checkout task with task
|
protected Vector | filesets
|
void | addFileset(FileSet set)- Adds a set of files to copy.
|
void | execute()- Executes the task.
|
String | getComment()- Get the value of comment.
|
File | getFile()- Get the value of file.
|
String | getTask()- Get the value of task.
|
void | setComment(String v)- Specifies a comment.
|
void | setFile(File v)- Sets the path to the file that the command will operate on.
|
void | setTask(String v)- Specifies the task number used to check
in the file (may use '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 flag -- comment to attach to the file
FLAG_TASK
public static final String FLAG_TASK
-task flag -- associate checkout task with task
filesets
protected Vector filesets
CCMCheck
public CCMCheck()
addFileset
public void addFileset(FileSet set)
Adds a set of files to copy.
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.
getFile
public File getFile()
Get the value of file.
- value of file.
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.
setFile
public void setFile(File v)
Sets the path to the file that the command will operate on.
v - Value to assign to file.
setTask
public void setTask(String v)
Specifies the task number used to check
in the file (may use 'default').
v - Value to assign to task.
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.