The following attributes are interpreted:
| Attribute | Values | Required |
|---|---|---|
| viewpath | Path to the ClearCase view file or directory that the command will operate on | No |
| keepcopy | Specifies whether to keep a copy of the file with a .keep extension or not | No |
| failonerr | Throw an exception if the command fails. Default is true | No |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | FLAG_KEEPCOPY
-keep flag -- keep a copy of the file with .keep extension |
| public static final String | FLAG_RM
-rm flag -- remove the copy of the file |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| public boolean | |
| public void | setKeepCopy(boolean
the status to set the flag to keep)If true, keep a copy of the file with a .keep extension. |
| FLAG_KEEPCOPY | back to summary |
|---|---|
| public static final String FLAG_KEEPCOPY -keep flag -- keep a copy of the file with .keep extension | |
| FLAG_RM | back to summary |
|---|---|
| public static final String FLAG_RM -rm flag -- remove the copy of the file | |
| mKeep | back to summary |
|---|---|
| private boolean mKeep | |
| CCUnCheckout | back to summary |
|---|---|
| public CCUnCheckout() | |
| 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.
| |
| getKeepCopy | back to summary |
|---|---|
| public boolean getKeepCopy() Get keepcopy flag status
| |
| setKeepCopy | back to summary |
|---|---|
| public void setKeepCopy(boolean keep) If true, keep a copy of the file with a .keep extension.
| |