| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.optional.clearcase.ClearCase
org.apache.tools.ant.taskdefs.optional.clearcase.CCUnlock
public class CCUnlock
Performs a ClearCase Unlock command.
The following attributes are interpreted:
| Attribute | Values | Required | 
|---|---|---|
| comment | Specifies how to populate comments fields | No | 
| pname | Specifies the object pathname to be unlocked. | No | 
| objselect | This variable is obsolete. Should use objsel instead. | no | 
| objsel | Specifies the object(s) to be unlocked. | No | 
| failonerr | Throw an exception if the command fails. Default is true | No | 
| Field Summary | |
|---|---|
| static java.lang.String | FLAG_COMMENT-comment flag -- method to use for commenting events | 
| static java.lang.String | FLAG_PNAME-pname flag -- pathname to lock | 
| Fields inherited from class org.apache.tools.ant.taskdefs.optional.clearcase.ClearCase | 
|---|
| COMMAND_CHECKIN, COMMAND_CHECKOUT, COMMAND_LOCK, COMMAND_LSCO, COMMAND_MKATTR, COMMAND_MKBL, COMMAND_MKDIR, COMMAND_MKELEM, COMMAND_MKLABEL, COMMAND_MKLBTYPE, COMMAND_RMTYPE, COMMAND_UNCHECKOUT, COMMAND_UNLOCK, COMMAND_UPDATE | 
| Fields inherited from class org.apache.tools.ant.Task | 
|---|
| target, taskName, taskType, wrapper | 
| Fields inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| description, location, project | 
| Constructor Summary | |
|---|---|
| CCUnlock() | |
| Method Summary | |
|---|---|
|  void | execute()Executes the task. | 
|  java.lang.String | getComment()Get comment method | 
|  java.lang.String | getObjselect()Get list of objects to be locked | 
|  java.lang.String | getPname()Get the pathname to be locked | 
|  void | setComment(java.lang.String comment)Sets how comments should be written for the event record(s) | 
|  void | setObjSel(java.lang.String objsel)Sets the object(s) to be locked | 
|  void | setObjselect(java.lang.String objselect)Sets the object(s) to be locked | 
|  void | setPname(java.lang.String pname)Sets the pathname to be locked | 
| Methods inherited from class org.apache.tools.ant.taskdefs.optional.clearcase.ClearCase | 
|---|
| getClearToolCommand, getFailOnErr, getObjSelect, getViewPath, getViewPathBasename, run, runS, setClearToolDir, setFailOnErr, setObjSelect, setViewPath | 
| Methods inherited from class org.apache.tools.ant.Task | 
|---|
| bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType | 
| Methods inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String FLAG_COMMENT
public static final java.lang.String FLAG_PNAME
| Constructor Detail | 
|---|
public CCUnlock()
| Method Detail | 
|---|
public void execute()
             throws BuildException
Builds a command line to execute cleartool and then calls Exec's run method to execute the command line.
execute in class TaskBuildException - if the command fails and failonerr is set to truepublic void setComment(java.lang.String comment)
comment - comment method to usepublic java.lang.String getComment()
public void setPname(java.lang.String pname)
pname - pathname to be lockedpublic java.lang.String getPname()
public void setObjselect(java.lang.String objselect)
objselect - objects to be lockedpublic void setObjSel(java.lang.String objsel)
objsel - objects to be lockedpublic java.lang.String getObjselect()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||