All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
CCMCheckin, CCMCheckinDefault, CCMCheckout

public class CCMCheck extends Continuus
Class common to all check commands (checkout, checkin,checkin default task);
  • Field Details

  • Constructor Details

    • CCMCheck

      public CCMCheck()
  • Method Details

    • getFile

      public File getFile()
      Get the value of file.
      Returns:
      value of file.
    • setFile

      public void setFile(File v)
      Sets the path to the file that the command will operate on.
      Parameters:
      v - Value to assign to file.
    • getComment

      public String getComment()
      Get the value of comment.
      Returns:
      value of comment.
    • setComment

      public void setComment(String v)
      Specifies a comment.
      Parameters:
      v - Value to assign to comment.
    • getTask

      public String getTask()
      Get the value of task.
      Returns:
      value of task.
    • setTask

      public void setTask(String v)
      Specifies the task number used to check in the file (may use 'default').
      Parameters:
      v - Value to assign to task.
    • addFileset

      public void addFileset(FileSet set)
      Adds a set of files to copy.
      Parameters:
      set - the set of files
    • execute

      public void execute() throws BuildException
      Executes the task.

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

      Overrides:
      execute in class Task
      Throws:
      BuildException - on error