public class CCMCheck extends Continuus
Modifier and Type | Field and Description |
---|---|
protected Vector |
filesets |
static String |
FLAG_COMMENT
-comment flag -- comment to attach to the file
|
static String |
FLAG_TASK
-task flag -- associate checkout task with task
|
COMMAND_CHECKIN, COMMAND_CHECKOUT, COMMAND_CREATE_TASK, COMMAND_DEFAULT_TASK, COMMAND_RECONFIGURE
Constructor and Description |
---|
CCMCheck()
Constructor for CCMCheck.
|
Modifier and Type | Method and Description |
---|---|
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').
|
getCcmAction, getCcmCommand, run, run, setCcmAction, setCcmDir
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
protected Vector filesets
public static final String FLAG_COMMENT
public static final String FLAG_TASK
public void addFileset(FileSet set)
set
- the set of filespublic 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 Task
BuildException
- on errorpublic String getComment()
public File getFile()
public String getTask()
public void setComment(String v)
v
- Value to assign to comment.public void setFile(File v)
v
- Value to assign to file.public void setTask(String v)
v
- Value to assign to task.