org.apache.tools.ant.taskdefs.optional.starteam
Class StarTeamLabel
public class StarTeamLabel
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"/>
protected View | createSnapshotView(View raw) - Override of base-class abstract function creates an
appropriately configured view.
|
void | execute() - This method does the work of creating the new view and checking it into
Starteam.
|
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.
|
void | setDescription(String description) - Description of the label to be stored in the StarTeam project.
|
void | setLabel(String label) - The name to be given to the label; required.
|
void | setLastBuild(String lastbuild) - The timestamp of the build that will be stored with the label; required.
|
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 , disconnectFromServer , getPassword , getProjectname , getServer , getServername , getServerport , getTypeNames , getURL , getUserName , getUserName , getViewURL , getViewname , openView , setPassword , setProjectname , setServername , setServerport , setURL , setUserName , setViewname |
execute , getDescription , getLocation , getOwningTarget , getRuntimeConfigurableWrapper , getTaskName , getTaskType , getWrapper , handleErrorFlush , handleErrorOutput , handleFlush , handleInput , handleOutput , init , isInvalid , log , log , maybeConfigure , perform , reconfigure , setDescription , setLocation , setOwningTarget , setRuntimeConfigurableWrapper , setTaskName , setTaskType |
createSnapshotView
protected View createSnapshotView(View raw)
Override of base-class abstract function creates an
appropriately configured view. For labels this a view
configured as of this.lastBuild.
- createSnapshotView in interface StarTeamTask
raw
- the unconfigured View
- the snapshot
View
appropriately configured.
execute
public void execute()
throws BuildException
This method does the work of creating the new view and checking it into
Starteam.
- execute in interface Task
setBuildLabel
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.
buildlabel
- If true this will be a revision label; if false,
a build label
setDescription
public void setDescription(String description)
Description of the label to be stored in the StarTeam project.
- setDescription in interface Task
setLabel
public void setLabel(String label)
The name to be given to the label; required.
setLastBuild
public void setLastBuild(String lastbuild)
throws BuildException
The timestamp of the build that will be stored with the label; required.
Must be formatted yyyyMMddHHmmss
setRevisionLabel
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.
revisionlabel
- If true this will be a revision label; if false,
a build label
Copyright B) 2000-2008 Apache Software Foundation. All Rights Reserved.