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 |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | FLAG_COMMENT
-comment flag -- method to use for commenting events |
| public static final String | FLAG_PNAME
-pname flag -- pathname to lock |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| public String | |
| private void | getCommentCommand(Commandline
containing the command line string with or without the
comment flag and value appended cmd)Get the 'comment' command |
| public String | |
| private String | Returns: String containing the object/pname being worked onReturn which object/pname is being operated on |
| public String | |
| private void | getPnameCommand(Commandline
containing the command line string with or without the
pname flag and value appended cmd)Get the 'pname' command |
| public void | setComment(String
comment method to use comment)Sets how comments should be written for the event record(s) |
| public void | |
| public void | |
| public void |
| FLAG_COMMENT | back to summary |
|---|---|
| public static final String FLAG_COMMENT -comment flag -- method to use for commenting events | |
| FLAG_PNAME | back to summary |
|---|---|
| public static final String FLAG_PNAME -pname flag -- pathname to lock | |
| mComment | back to summary |
|---|---|
| private String mComment | |
| mPname | back to summary |
|---|---|
| private String mPname | |
| CCUnlock | back to summary |
|---|---|
| public CCUnlock() | |
| checkOptions | back to summary |
|---|---|
| private void checkOptions(Commandline cmd) Check the command line options. | |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. Executes the task. Builds a command line to execute cleartool and then calls Exec's run method to execute the command line.
| |
| getComment | back to summary |
|---|---|
| public String getComment() Get comment method
| |
| getCommentCommand | back to summary |
|---|---|
| private void getCommentCommand(Commandline cmd) Get the 'comment' command
| |
| getObjselect | back to summary |
|---|---|
| public String getObjselect() Get list of objects to be locked
| |
| getOpType | back to summary |
|---|---|
| private String getOpType() Return which object/pname is being operated on
| |
| getPname | back to summary |
|---|---|
| public String getPname() Get the pathname to be locked
| |
| getPnameCommand | back to summary |
|---|---|
| private void getPnameCommand(Commandline cmd) Get the 'pname' command
| |
| setComment | back to summary |
|---|---|
| public void setComment(String comment) Sets how comments should be written for the event record(s)
| |
| setObjSel | back to summary |
|---|---|
| public void setObjSel(String objsel) Sets the object(s) to be locked
| |
| setObjselect | back to summary |
|---|---|
| public void setObjselect(String objselect) Sets the object(s) to be locked
| |
| setPname | back to summary |
|---|---|
| public void setPname(String pname) Sets the pathname to be locked
| |