org.apache.tools.ant.taskdefs.optional.ccm

Class CCMCheck

    • Field Detail

      • filesets

        protected java.util.Vector filesets
      • FLAG_COMMENT

        public static final java.lang.String FLAG_COMMENT
        -comment flag -- comment to attach to the file
        See Also:
        Constant Field Values
      • FLAG_TASK

        public static final java.lang.String FLAG_TASK
        -task flag -- associate checkout task with task
        See Also:
        Constant Field Values
    • Constructor Detail

      • CCMCheck

        public CCMCheck()
        Constructor for CCMCheck.
    • Method Detail

      • 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