Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.pmease.quickbuild.repository
Class StarTeamRepository

    java.lang.Object
      com.pmease.quickbuild.repository.Repository
          com.pmease.quickbuild.repository.StarTeamRepository

All Implemented Interfaces:
  java.io.Serializable

public class StarTeamRepository
extends Repository

Borland StarTeam repository

Author:
  robin shine
See Also:
  Serialized Form

Constructor Summary
`StarTeamRepository()`

Method Summary
`protected void` | `buildFinished(Build build)` Indicates build has finished.
`protected void` | `checkout(Build build)` Check out codes for specified build.
`protected void` | `cleanupCheckoutStarted(java.lang.String workingDir, org.apache.log4j.Logger logger)` Give the repository a chance to do something before clean up checkouts.
`protected Revisions` | `getChangeListSince(DependentContext dependentContext, java.util.Date date, java.lang.String workingDir, org.apache.log4j.Logger logger)` Get change list since specified date.
`java.lang.Class` | `getModuleClazz()`
`java.lang.String` | `getPassword()` OGNL: Password to login to the StarTeam server.
`java.lang.String` | `getProjectLocation()` OGNL: Location of a StarTeam project is defined as: <servername>:<portnum>/<projectname>, where <servername> is the host where the StarTeam server runs, <portnum> is the port number the StarTeam server uses, default value is 49201.
`long` | `getTimeDifferenceThreshhold()` OGNL: Specify time difference threshhold (measured in seconds) between build server and StarTeam server.
`java.lang.String` | `getUser()` OGNL: User name to login to the StarTeam server.
`boolean` | `isConvertEOL()` OGNL: If choose yes, all ASCII files will have their end-of-line characters adjusted to the EOL type of the local machine on checkout.
`protected void` | `label(Build build, java.lang.String label, java.lang.String comment)` Label checked out artifacts from this repository.
`void` | `setConvertEOL(boolean convertEOL)`
`void` | `setPassword(java.lang.String password)`
`void` | `setProjectLocation(java.lang.String projectLocation)`
`void` | `setTimeDifferenceThreshhold(long timeDifferenceThreshhold)`
`void` | `setUser(java.lang.String user)`

Methods inherited from class com.pmease.quickbuild.repository.Repository
`cleanupCheckoutStarted, doCheckout, doLabel, equals, getChangeListSince, getDate2Revisions, getEditor, getLoginMappingName, getLoginMappingNameSelectionModel, getModules, getName, getNameChoices, getQuietPeriod, hashCode, isCheckedOut, isModified, isModifiedSince, isQuietSince, notifyBuildFinished, resolveOgnlExpressions, setEditor, setLoginMappingName, setName, setQuietPeriod, validate`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StarTeamRepository

    public StarTeamRepository()

Method Detail

### getProjectLocation

    public java.lang.String getProjectLocation()

  OGNL: Location of a StarTeam project is defined as: <servername>:<portnum>/<projectname>, where <servername> is the host where the StarTeam server runs, <portnum> is the port number the StarTeam server uses, default value is 49201. <projectname> is a StarTeam project under this StarTeam server.

  Returns:

### setProjectLocation

    public void setProjectLocation(java.lang.String projectLocation)

### getUser

    public java.lang.String getUser()

  OGNL: User name to login to the StarTeam server.

  Returns:

### setUser

    public void setUser(java.lang.String user)

### getPassword

    public java.lang.String getPassword()

  OGNL: Password to login to the StarTeam server.

  Returns:

### setPassword

    public void setPassword(java.lang.String password)

### isConvertEOL

    public boolean isConvertEOL()

  OGNL: If choose yes, all ASCII files will have their end-of-line characters adjusted to the EOL type of the local machine on checkout. Otherwise, the files will be checked out with whatever EOL characters are used on the server

  Returns:

### setConvertEOL

    public void setConvertEOL(boolean convertEOL)

### getTimeDifferenceThreshhold

    public long getTimeDifferenceThreshhold()

  OGNL: Specify time difference threshhold (measured in seconds) between build server and StarTeam server. Time difference between build server and StarTeam server should not exceed this value. Otherwise, checkouts may fail due to trying to pull codes of future time from StarTeam server. However, you should not set a too large threshhold in order to check out latest codes. For most cases, 10 seconds will be a good choice.

  Returns:

### setTimeDifferenceThreshhold

    public void setTimeDifferenceThreshhold(long timeDifferenceThreshhold)

### checkout

    protected void checkout(Build build)

  Description copied from class: `Repository`
  Check out codes for specified build. OGNL expressions have been resolved before call this method.

  Specified by:
    `checkout` in class `Repository`
  Parameters:
    `build` -

### getChangeListSince

    protected Revisions getChangeListSince(DependentContext dependentContext,
                                           java.util.Date date,
                                           java.lang.String workingDir,
                                           org.apache.log4j.Logger logger)

  Description copied from class: `Repository`
  Get change list since specified date. OGNL expressions have been resolved before call this method.

  Specified by:
    `getChangeListSince` in class `Repository`
  Parameters:
    `dependentContext` -
    `date` -
    `workingDir` -
    `logger` -
  Returns:

### getModuleClazz

    public java.lang.Class getModuleClazz()

  Specified by:
    `getModuleClazz` in class `Repository`

### buildFinished

    protected void buildFinished(Build build)

  Description copied from class: `Repository`
  Indicates build has finished. OGNL expressions have been resolved before call this method.

  Specified by:
    `buildFinished` in class `Repository`
  Parameters:
    `build` -

### cleanupCheckoutStarted

    protected void cleanupCheckoutStarted(java.lang.String workingDir,
                                          org.apache.log4j.Logger logger)

  Description copied from class: `Repository`
  Give the repository a chance to do something before clean up checkouts. OGNL expressions have been resolved before call this method.

  Specified by:
    `cleanupCheckoutStarted` in class `Repository`
  Parameters:
    `workingDir` -
    `logger` -

### label

    protected void label(Build build,
                         java.lang.String label,
                         java.lang.String comment)

  Description copied from class: `Repository`
  Label checked out artifacts from this repository. OGNL expressions have been resolved before call this method.

  Specified by:
    `label` in class `Repository`
  Parameters:
    `build` -

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005 PMEase Inc. All Rights Reserved.