API Overview API Index Package Overview Direct link to this page
Apache Ant 1.7.1
  org.apache.tools.ant.taskdefs.optional.clearcase. CCMkattr View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      ProjectComponent
          Task
              ClearCase
                  CCMkattr
Implements
Subclasses
Description
public class CCMkattr
  Task to perform mkattr command to ClearCase.
See also:   
Constructors
public CCMkattr ()
Methods
Hide/Show inherited methods
publicfinal void bindToOwner (Task owner) [Inherited From Task]
  Bind a task to another; use this when configuring a newly created task to do work on behalf of another.
public java.lang.Object clone () throws java.lang.CloneNotSupportedException [Inherited From ProjectComponent]
 
public void execute () throws BuildException [Overrides Task]
  Executes the task.
protectedfinal java.lang.String getClearToolCommand () [Inherited From ClearCase]
  Builds and returns the command string to execute cleartool
public java.lang.String getComment ()
  Get comment string
public java.lang.String getCommentFile ()
  Get comment file
public java.lang.String getDescription () [Inherited From ProjectComponent]
  Returns the description of the current action.
public boolean getFailOnErr () [Inherited From ClearCase]
  Get failonerr flag status
public Location getLocation () [Inherited From ProjectComponent]
  Returns the file/location where this task was defined.
public java.lang.String getObjSelect () [Inherited From ClearCase]
  Get the object to operate on
public Target getOwningTarget () [Inherited From Task]
  Returns the container target of this task.
public Project getProject () [Inherited From ProjectComponent]
  Returns the project to which this component belongs.
public boolean getRecurse ()
  Get recurse flag status
public boolean getReplace ()
  Get replace flag status
public RuntimeConfigurable getRuntimeConfigurableWrapper () [Inherited From Task]
  Returns the wrapper used for runtime configuration.
public java.lang.String getTaskName () [Inherited From Task]
  Returns the name to use in logging messages.
public java.lang.String getTaskType () [Inherited From Task]
  Return the type of task.
public java.lang.String getTypeName ()
  Get attribute type-name
public java.lang.String getTypeValue ()
  Get the attribute type-value
public java.lang.String getVersion ()
  Get version flag status
public java.lang.String getViewPath () [Inherited From ClearCase]
  Get the path to the item in a clearcase view
public java.lang.String getViewPathBasename () [Inherited From ClearCase]
  Get the basename path of the item in a clearcase view
protected RuntimeConfigurable getWrapper () [Inherited From Task]
  Return the runtime configurable structure for this task.
protected void handleErrorFlush (java.lang.String output) [Inherited From Task]
  Handles an error line by logging it with the WARN priority.
protected void handleErrorOutput (java.lang.String output) [Inherited From Task]
  Handles an error output by logging it with the WARN priority.
protected void handleFlush (java.lang.String output) [Inherited From Task]
  Handles output by logging it with the INFO priority.
protected int handleInput (byte[] buffer, int offset, int length) throws java.io.IOException [Inherited From Task]
  Handle an input request by this task.
protected void handleOutput (java.lang.String output) [Inherited From Task]
  Handles output by logging it with the INFO priority.
public void init () throws BuildException [Inherited From Task]
  Called by the project to let the task initialize properly.
protectedfinal boolean isInvalid () [Inherited From Task]
  Has this task been marked invalid?
public void log (java.lang.String msg) [Inherited From Task]
  Logs a message with the default (INFO) priority.
public void log (java.lang.String msg, int msgLevel) [Inherited From Task]
  Logs a message with the given priority.
public void log (java.lang.String msg, java.lang.Throwable t, int msgLevel) [Inherited From Task]
  Logs a message with the given priority.
public void log (java.lang.Throwable t, int msgLevel) [Inherited From Task]
  Logs a message with the given priority.
public void maybeConfigure () throws BuildException [Inherited From Task]
  Configures this task - if it hasn't been done already.
publicfinal void perform () [Inherited From Task]
  Performs this task if it's still valid, or gets a replacement version and performs that otherwise.
public void reconfigure () [Inherited From Task]
Force the task to be reconfigured from its RuntimeConfigurable.
protected int run (Commandline cmd) [Inherited From ClearCase]
  Execute the given command are return success or failure
protected java.lang.String runS (Commandline cmdline) [Inherited From ClearCase]
  Execute the given command, and return it's output
publicfinal void setClearToolDir (java.lang.String dir) [Inherited From ClearCase]
  Set the directory where the cleartool executable is located.
public void setComment (java.lang.String comment)
  Set comment string
public void setCommentFile (java.lang.String cfile)
  Set comment file
public void setDescription (java.lang.String desc) [Inherited From ProjectComponent]
  Sets a description of the current action.
public void setFailOnErr (boolean failonerr) [Inherited From ClearCase]
  If true, command will throw an exception on failure.
public void setLocation (Location location) [Inherited From ProjectComponent]
  Sets the file/location where this task was defined.
publicfinal void setObjSelect (java.lang.String objSelect) [Inherited From ClearCase]
  Set the object to operate on.
public void setOwningTarget (Target target) [Inherited From Task]
  Sets the target container of this task.
public void setProject (Project project) [Inherited From ProjectComponent]
  Sets the project object of this component.
public void setRecurse (boolean recurse)
  Set recurse flag
public void setReplace (boolean replace)
  Set the replace flag
public void setRuntimeConfigurableWrapper (RuntimeConfigurable wrapper) [Inherited From Task]
  Sets the wrapper to be used for runtime configuration.
public void setTaskName (java.lang.String name) [Inherited From Task]
  Sets the name to use in logging messages.
public void setTaskType (java.lang.String type) [Inherited From Task]
  Sets the name with which the task has been invoked.
public void setTypeName (java.lang.String tn)
  Set the attribute type-name
public void setTypeValue (java.lang.String tv)
  Set the attribute type-value
public void setVersion (java.lang.String version)
  Set the version flag
publicfinal void setViewPath (java.lang.String viewPath) [Inherited From ClearCase]
  Set the path to the item in a ClearCase view to operate on.
Fields
Hide/Show inherited fields
publicfinalstatic java.lang.String COMMAND_CHECKIN = "checkin" [Inherited From ClearCase]
The 'Checkin' command
publicfinalstatic java.lang.String COMMAND_CHECKOUT = "checkout" [Inherited From ClearCase]
The 'Checkout' command
publicfinalstatic java.lang.String COMMAND_LOCK = "lock" [Inherited From ClearCase]
The 'Lock' command
publicfinalstatic java.lang.String COMMAND_LSCO = "lsco" [Inherited From ClearCase]
The 'LsCheckout' command
publicfinalstatic java.lang.String COMMAND_MKATTR = "mkattr" [Inherited From ClearCase]
The 'Mkattr' command
publicfinalstatic java.lang.String COMMAND_MKBL = "mkbl" [Inherited From ClearCase]
The 'Mkbl' command
publicfinalstatic java.lang.String COMMAND_MKDIR = "mkdir" [Inherited From ClearCase]
The 'Mkdir' command
publicfinalstatic java.lang.String COMMAND_MKELEM = "mkelem" [Inherited From ClearCase]
The 'Mkelem' command
publicfinalstatic java.lang.String COMMAND_MKLABEL = "mklabel" [Inherited From ClearCase]
The 'Mklabel' command
publicfinalstatic java.lang.String COMMAND_MKLBTYPE = "mklbtype" [Inherited From ClearCase]
The 'Mklbtype' command
publicfinalstatic java.lang.String COMMAND_RMTYPE = "rmtype" [Inherited From ClearCase]
The 'Rmtype' command
publicfinalstatic java.lang.String COMMAND_UNCHECKOUT = "uncheckout" [Inherited From ClearCase]
The 'UndoCheckout' command
publicfinalstatic java.lang.String COMMAND_UNLOCK = "unlock" [Inherited From ClearCase]
The 'Unlock' command
publicfinalstatic java.lang.String COMMAND_UPDATE = "update" [Inherited From ClearCase]
The 'Update' command
protected java.lang.String description [Inherited From ProjectComponent]
Description of this component, if any.
publicfinalstatic java.lang.String FLAG_COMMENT = "-c"
-c flag -- comment to attach to the element
publicfinalstatic java.lang.String FLAG_COMMENTFILE = "-cfile"
-cfile flag -- file containing a comment to attach to the file
publicfinalstatic java.lang.String FLAG_NOCOMMENT = "-nc"
-nc flag -- no comment is specified
publicfinalstatic java.lang.String FLAG_RECURSE = "-recurse"
-recurse flag -- process all subdirectories
publicfinalstatic java.lang.String FLAG_REPLACE = "-replace"
-replace flag -- replace the existing value of the attribute
publicfinalstatic java.lang.String FLAG_VERSION = "-version"
-version flag -- attach attribute to specified version
protected Location location [Inherited From ProjectComponent]
Location within the build file of this task definition.
protected Project project [Inherited From ProjectComponent]
Project object of this component.
protected Target target [Inherited From Task]
Target this task belongs to, if any.
protected java.lang.String taskName [Inherited From Task]
  Name of this task to be used for logging purposes.
protected java.lang.String taskType [Inherited From Task]
Type of this task.
protected RuntimeConfigurable wrapper [Inherited From Task]
Wrapper for this object, used to configure it at runtime.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar