All Implemented Interfaces:
java.lang.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

  • Method Details

    • getFile

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

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

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

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

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

      public void setTask​(java.lang.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