net.sourceforge.cruisecontrol.sourcecontrols
Class StarTeam

java.lang.Object
  extended bynet.sourceforge.cruisecontrol.sourcecontrols.StarTeam
All Implemented Interfaces:
java.io.Serializable, SourceControl

public class StarTeam
extends java.lang.Object
implements SourceControl

This class logs into StarTeam and collects information on any modifications made since the last successful build.

Author:
Christopher Charlier -- ThoughtWorks Inc. 2001, Jason Yip, Neill, Ben Burgess
See Also:
Serialized Form

Constructor Summary
StarTeam()
           
 
Method Summary
 java.util.List getModifications(java.util.Date lastBuild, java.util.Date now)
          Populates the modification set with all appropriate information based on the changes since the last successful build.
 java.util.Map getProperties()
          Any properties that have been set in this sourcecontrol.
 void setFolder(java.lang.String folder)
          Set repository folder
 void setPassword(java.lang.String password)
          Set password for StarTeam user
 void setPreloadFileInformation(boolean preloadFileInformation)
           
 void setProperty(java.lang.String property)
           
 void setPropertyOnDelete(java.lang.String propertyOnDelete)
           
 void setStarteamurl(java.lang.String url)
           
 void setUsername(java.lang.String userName)
          Set StarTeam user name
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StarTeam

public StarTeam()
Method Detail

setUsername

public void setUsername(java.lang.String userName)
Set StarTeam user name


setPassword

public void setPassword(java.lang.String password)
Set password for StarTeam user


setFolder

public void setFolder(java.lang.String folder)
Set repository folder


setPreloadFileInformation

public void setPreloadFileInformation(boolean preloadFileInformation)

setStarteamurl

public void setStarteamurl(java.lang.String url)

setProperty

public void setProperty(java.lang.String property)

setPropertyOnDelete

public void setPropertyOnDelete(java.lang.String propertyOnDelete)

getProperties

public java.util.Map getProperties()
Description copied from interface: SourceControl
Any properties that have been set in this sourcecontrol. Will be passed onto the Builder, which may then pass the properties to the underlying build implementation. For example, the Ant builder will define these properties so that the underlying Ant script can use them.

Specified by:
getProperties in interface SourceControl

validate

public void validate()
              throws CruiseControlException
Specified by:
validate in interface SourceControl
Throws:
CruiseControlException

getModifications

public java.util.List getModifications(java.util.Date lastBuild,
                                       java.util.Date now)
Populates the modification set with all appropriate information based on the changes since the last successful build.

Specified by:
getModifications in interface SourceControl
Parameters:
lastBuild -
now -
Returns:
List of Modification objects