The following attributes are interpreted:
| Attribute | Values | Required |
|---|---|---|
| typekind | The kind of type to create. Valid types are: attype attribute type brtype branch type eltype element type hltype hyperlink type lbtype label type trtype trigger type |
Yes |
| typename | The name of the type to remove | Yes |
| vob | Name of the VOB | No |
| ignore | Used with trigger types only. Forces removal of trigger type even if a pre-operation trigger would prevent its removal | No |
| rmall | Removes all instances of a type and the type object itself | No |
| comment | Specify a comment. Only one of comment or cfile may be used. | No |
| commentfile | Specify a file containing a comment. Only one of comment or cfile may be used. | No |
| failonerr | Throw an exception if the command fails. Default is true | No |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | FLAG_COMMENT
-c flag -- comment to attach to the file |
| public static final String | FLAG_COMMENTFILE
-cfile flag -- file containing a comment to attach to the file |
| public static final String | FLAG_FORCE
-force flag -- suppresses confirmation prompts |
| public static final String | FLAG_IGNORE
-ignore flag -- ignore pre-trigger operations when removing a trigger type |
| public static final String | FLAG_NOCOMMENT
-nc flag -- no comment is specified |
| public static final String | FLAG_RMALL
-rmall flag -- removes all instances of a type and the type object itself |
| private String | |
| private String | |
| private boolean | |
| private boolean | |
| private String | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| public String | |
| private void | getCommentCommand(Commandline
containing the command line string with or
without the comment flag and string appended cmd)Get the 'comment' command |
| public String | |
| private void | getCommentFileCommand(Commandline
containing the command line string with or
without the commentfile flag and file appended cmd)Get the 'commentfile' command |
| public boolean | |
| public boolean | |
| public String | |
| public String | |
| private String | |
| public String | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| FLAG_COMMENT | back to summary |
|---|---|
| public static final String FLAG_COMMENT -c flag -- comment to attach to the file | |
| FLAG_COMMENTFILE | back to summary |
|---|---|
| public static final String FLAG_COMMENTFILE -cfile flag -- file containing a comment to attach to the file | |
| FLAG_FORCE | back to summary |
|---|---|
| public static final String FLAG_FORCE -force flag -- suppresses confirmation prompts | |
| FLAG_IGNORE | back to summary |
|---|---|
| public static final String FLAG_IGNORE -ignore flag -- ignore pre-trigger operations when removing a trigger type | |
| FLAG_NOCOMMENT | back to summary |
|---|---|
| public static final String FLAG_NOCOMMENT -nc flag -- no comment is specified | |
| FLAG_RMALL | back to summary |
|---|---|
| public static final String FLAG_RMALL -rmall flag -- removes all instances of a type and the type object itself | |
| mCfile | back to summary |
|---|---|
| private String mCfile | |
| mComment | back to summary |
|---|---|
| private String mComment | |
| mIgnore | back to summary |
|---|---|
| private boolean mIgnore | |
| mRmall | back to summary |
|---|---|
| private boolean mRmall | |
| mTypeKind | back to summary |
|---|---|
| private String mTypeKind | |
| mTypeName | back to summary |
|---|---|
| private String mTypeName | |
| mVOB | back to summary |
|---|---|
| private String mVOB | |
| CCRmtype | back to summary |
|---|---|
| public CCRmtype() | |
| checkOptions | back to summary |
|---|---|
| private void checkOptions(Commandline cmd) Check the command line options. | |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. Executes the task. Builds a command line to execute cleartool and then calls Exec's run method to execute the command line.
| |
| getComment | back to summary |
|---|---|
| public String getComment() Get comment string
| |
| getCommentCommand | back to summary |
|---|---|
| private void getCommentCommand(Commandline cmd) Get the 'comment' command
| |
| getCommentFile | back to summary |
|---|---|
| public String getCommentFile() Get comment file
| |
| getCommentFileCommand | back to summary |
|---|---|
| private void getCommentFileCommand(Commandline cmd) Get the 'commentfile' command
| |
| getIgnore | back to summary |
|---|---|
| public boolean getIgnore() Get ignore flag status
| |
| getRmAll | back to summary |
|---|---|
| public boolean getRmAll() Get rmall flag status
| |
| getTypeKind | back to summary |
|---|---|
| public String getTypeKind() Get type-kind string
| |
| getTypeName | back to summary |
|---|---|
| public String getTypeName() Get type-name string
| |
| getTypeSpecifier | back to summary |
|---|---|
| private String getTypeSpecifier() Get the 'type-specifier' string
| |
| getVOB | back to summary |
|---|---|
| public String getVOB() Get VOB name
| |
| setComment | back to summary |
|---|---|
| public void setComment(String comment) Set comment string
| |
| setCommentFile | back to summary |
|---|---|
| public void setCommentFile(String cfile) Set comment file
| |
| setIgnore | back to summary |
|---|---|
| public void setIgnore(boolean ignore) Set the ignore flag
| |
| setRmAll | back to summary |
|---|---|
| public void setRmAll(boolean rmall) Set rmall flag
| |
| setTypeKind | back to summary |
|---|---|
| public void setTypeKind(String tk) Set type-kind string
| |
| setTypeName | back to summary |
|---|---|
| public void setTypeName(String tn) Set type-name string
| |
| setVOB | back to summary |
|---|---|
| public void setVOB(String vob) Set the VOB name
| |