java.lang.Cloneable
CCMCheckin
, CCMCheckinDefault
, CCMCheckout
public class CCMCheck extends Continuus
Modifier and Type | Field | Description |
---|---|---|
protected java.util.Vector<FileSet> |
filesets |
|
static java.lang.String |
FLAG_COMMENT |
-comment flag -- comment to attach to the file
|
static java.lang.String |
FLAG_TASK |
-task flag -- associate checkout task with task
|
COMMAND_CHECKIN, COMMAND_CHECKOUT, COMMAND_CREATE_TASK, COMMAND_DEFAULT_TASK, COMMAND_RECONFIGURE
description, location, project
Constructor | Description |
---|---|
CCMCheck() |
Modifier and Type | Method | Description |
---|---|---|
void |
addFileset(FileSet set) |
Adds a set of files to copy.
|
void |
execute() |
Executes the task.
|
java.lang.String |
getComment() |
Get the value of comment.
|
java.io.File |
getFile() |
Get the value of file.
|
java.lang.String |
getTask() |
Get the value of task.
|
void |
setComment(java.lang.String v) |
Specifies a comment.
|
void |
setFile(java.io.File v) |
Sets the path to the file that the command will operate on.
|
void |
setTask(java.lang.String v) |
Specifies the task number used to check
in the file (may use 'default').
|
getCcmAction, getCcmCommand, run, run, setCcmAction, setCcmDir
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public static final java.lang.String FLAG_COMMENT
public static final java.lang.String FLAG_TASK
protected java.util.Vector<FileSet> filesets
public java.io.File getFile()
public void setFile(java.io.File v)
v
- Value to assign to file.public java.lang.String getComment()
public void setComment(java.lang.String v)
v
- Value to assign to comment.public java.lang.String getTask()
public void setTask(java.lang.String v)
v
- Value to assign to 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 error