| org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.optional.clearcase.ClearCase
All known Subclasses: org.apache.tools.ant.taskdefs.optional.clearcase.CCMklbtype, org.apache.tools.ant.taskdefs.optional.clearcase.CCLock, org.apache.tools.ant.taskdefs.optional.clearcase.CCUnlock, org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckout, org.apache.tools.ant.taskdefs.optional.clearcase.CCMkdir, org.apache.tools.ant.taskdefs.optional.clearcase.CCUnCheckout, org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckin, org.apache.tools.ant.taskdefs.optional.clearcase.CCMkbl, org.apache.tools.ant.taskdefs.optional.clearcase.CCUpdate, org.apache.tools.ant.taskdefs.optional.clearcase.CCMklabel, org.apache.tools.ant.taskdefs.optional.clearcase.CCMkattr, org.apache.tools.ant.taskdefs.optional.clearcase.CCRmtype, org.apache.tools.ant.taskdefs.optional.clearcase.CCMkelem,
ClearCase | abstract public class ClearCase extends Task (Code) | | A base class for creating tasks for executing commands on ClearCase.
The class extends the 'exec' task as it operates by executing the cleartool program
supplied with ClearCase. By default the task expects the cleartool executable to be
in the path, * you can override this be specifying the cleartooldir attribute.
This class provides set and get methods for the 'viewpath' and 'objselect'
attribute. It also contains constants for the flags that can be passed to
cleartool.
|
COMMAND_CHECKIN | final public static String COMMAND_CHECKIN(Code) | | The 'Checkin' command
|
COMMAND_CHECKOUT | final public static String COMMAND_CHECKOUT(Code) | | The 'Checkout' command
|
COMMAND_LOCK | final public static String COMMAND_LOCK(Code) | | The 'Lock' command
|
COMMAND_LSCO | final public static String COMMAND_LSCO(Code) | | The 'LsCheckout' command
|
COMMAND_MKATTR | final public static String COMMAND_MKATTR(Code) | | The 'Mkattr' command
|
COMMAND_MKBL | final public static String COMMAND_MKBL(Code) | | The 'Mkbl' command
|
COMMAND_MKDIR | final public static String COMMAND_MKDIR(Code) | | The 'Mkdir' command
|
COMMAND_MKELEM | final public static String COMMAND_MKELEM(Code) | | The 'Mkelem' command
|
COMMAND_MKLABEL | final public static String COMMAND_MKLABEL(Code) | | The 'Mklabel' command
|
COMMAND_MKLBTYPE | final public static String COMMAND_MKLBTYPE(Code) | | The 'Mklbtype' command
|
COMMAND_RMTYPE | final public static String COMMAND_RMTYPE(Code) | | The 'Rmtype' command
|
COMMAND_UNCHECKOUT | final public static String COMMAND_UNCHECKOUT(Code) | | The 'UndoCheckout' command
|
COMMAND_UNLOCK | final public static String COMMAND_UNLOCK(Code) | | The 'Unlock' command
|
COMMAND_UPDATE | final public static String COMMAND_UPDATE(Code) | | The 'Update' command
|
getClearToolCommand | final protected String getClearToolCommand()(Code) | | Builds and returns the command string to execute cleartool
String containing path to the executable |
getFailOnErr | public boolean getFailOnErr()(Code) | | Get failonerr flag status
boolean containing status of failonerr flag since: ant 1.6.1 |
getObjSelect | public String getObjSelect()(Code) | | Get the object to operate on
mobjSelect |
getViewPath | public String getViewPath()(Code) | | Get the path to the item in a clearcase view
mviewPath |
getViewPathBasename | public String getViewPathBasename()(Code) | | Get the basename path of the item in a clearcase view
basename |
run | protected int run(Commandline cmd)(Code) | | Execute the given command are return success or failure
Parameters: cmd - command line to execute the exit status of the subprocess or INVALID |
runS | protected String runS(Commandline cmdline)(Code) | | Execute the given command, and return it's output
Parameters: cmdline - command line to execute output of the command line |
setClearToolDir | final public void setClearToolDir(String dir)(Code) | | Set the directory where the cleartool executable is located.
Parameters: dir - the directory containing the cleartool executable |
setFailOnErr | public void setFailOnErr(boolean failonerr)(Code) | | If true, command will throw an exception on failure.
Parameters: failonerr - the status to set the flag to since: ant 1.6.1 |
setObjSelect | final public void setObjSelect(String objSelect)(Code) | | Set the object to operate on.
Parameters: objSelect - object to operate on |
setViewPath | final public void setViewPath(String viewPath)(Code) | | Set the path to the item in a ClearCase view to operate on.
Parameters: viewPath - Path to the view directory or file |
|
|