org.apache.tools.ant.taskdefs.optional.clearcase
public class CCUnlock extends ClearCase
The following attributes are interpreted:
Attribute | Values | Required |
---|---|---|
comment | Specifies how to populate comments fields | No |
pname | Specifies the object pathname to be unlocked. | No |
objselect | This variable is obsolete. Should use objsel instead. | no |
objsel | Specifies the object(s) to be unlocked. | No |
failonerr | Throw an exception if the command fails. Default is true | No |
Field Summary | |
---|---|
static String | FLAG_COMMENT
-comment flag -- method to use for commenting events |
static String | FLAG_PNAME
-pname flag -- pathname to lock |
Method Summary | |
---|---|
void | execute()
Executes the task.
|
String | getComment()
Get comment method
|
String | getObjselect()
Get list of objects to be locked
|
String | getPname()
Get the pathname to be locked
|
void | setComment(String comment)
Sets how comments should be written
for the event record(s)
|
void | setObjselect(String objselect)
Sets the object(s) to be locked
|
void | setObjSel(String objsel)
Sets the object(s) to be locked
|
void | setPname(String pname)
Sets the pathname to be locked
|
Builds a command line to execute cleartool and then calls Exec's run method to execute the command line.
Throws: BuildException if the command fails and failonerr is set to true
Returns: String containing the desired comment method
Returns: String containing the objects to be locked
Returns: String containing the pathname to be locked
Parameters: comment comment method to use
Parameters: objselect objects to be locked
Parameters: objsel objects to be locked
Since: ant 1.6.1
Parameters: pname pathname to be locked