java.lang.Object
All Implemented Interfaces:
java.lang.Cloneable

public class CCUnCheckout
extends ClearCase
Performs ClearCase UnCheckout command.

The following attributes are interpreted:

Task attributes
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
  • Field Details

  • Constructor Details

  • Method Details

    • execute

      public void execute() throws BuildException
      Executes the task.

      Builds a command line to execute cleartool and then calls Exec's run method to execute the command line.

      Overrides:
      execute in class Task
      Throws:
      BuildException - if the command fails and failonerr is set to true
    • setKeepCopy

      public void setKeepCopy​(boolean keep)
      If true, keep a copy of the file with a .keep extension.
      Parameters:
      keep - the status to set the flag to
    • getKeepCopy

      public boolean getKeepCopy()
      Get keepcopy flag status
      Returns:
      boolean containing status of keep flag