| org.apache.tools.ant.taskdefs.optional.starteam.StarTeamTask org.apache.tools.ant.taskdefs.optional.starteam.StarTeamLabel
StarTeamLabel | public class StarTeamLabel extends StarTeamTask (Code) | | Creates a view label in StarTeam at the specified view.
Ant Usage:
<taskdef name="stlabel"
classname="org.apache.tools.ant.taskdefs.optional.starteam.StarTeamLabel"/<
<stlabel
label="1.0" lastbuild="20011514100000" description="Successful Build"
username="BuildMaster" password="ant"
starteamurl="server:port/project/view"/>
See Also: borland StarTeam Web Site |
Method Summary | |
protected View | createSnapshotView(View raw) Override of base-class abstract function creates an
appropriately configured view. | public void | execute() This method does the work of creating the new view and checking it into
Starteam. | public void | setBuildLabel(boolean buildlabel) set the type of label based on the supplied value - if true, this
label will be a revision label, if false, a build label. | public void | setDescription(String description) Description of the label to be stored in the StarTeam project. | public void | setLabel(String label) The name to be given to the label; required. | public void | setLastBuild(String lastbuild) The timestamp of the build that will be stored with the label; required. | public void | setRevisionLabel(boolean revisionlabel) set the type of label based on the supplied value - if true, this
label will be a revision label, if false, a build label. |
createSnapshotView | protected View createSnapshotView(View raw)(Code) | | Override of base-class abstract function creates an
appropriately configured view. For labels this a view
configured as of this.lastBuild.
Parameters: raw - the unconfigured View the snapshot View appropriately configured. |
execute | public void execute() throws BuildException(Code) | | This method does the work of creating the new view and checking it into
Starteam.
throws: BuildException - on error |
setBuildLabel | public void setBuildLabel(boolean buildlabel)(Code) | | set the type of label based on the supplied value - if true, this
label will be a revision label, if false, a build label.
Parameters: buildlabel - If true this will be a revision label; if false,a build label |
setDescription | public void setDescription(String description)(Code) | | Description of the label to be stored in the StarTeam project.
Parameters: description - the description to be used |
setLabel | public void setLabel(String label)(Code) | | The name to be given to the label; required.
Parameters: label - the name to be used |
setLastBuild | public void setLastBuild(String lastbuild) throws BuildException(Code) | | The timestamp of the build that will be stored with the label; required.
Must be formatted yyyyMMddHHmmss
Parameters: lastbuild - the timestamp of the last build throws: BuildException - on error |
setRevisionLabel | public void setRevisionLabel(boolean revisionlabel)(Code) | | set the type of label based on the supplied value - if true, this
label will be a revision label, if false, a build label.
Parameters: revisionlabel - If true this will be a revision label; if false,a build label |
|
|