com.pmease.quickbuild.repository
Class AccurevRepositoryFacade

java.lang.Object
  extended bycom.pmease.quickbuild.repository.AccurevRepositoryFacade
All Implemented Interfaces:
java.io.Serializable

public class AccurevRepositoryFacade
extends java.lang.Object
implements java.io.Serializable

Facade class for AccurevRepository. Repository implementation for Accurev

See Also:
Serialized Form

Constructor Summary
AccurevRepositoryFacade()
           
 
Method Summary
 java.lang.String getAccurevExecutablePath()
          OGNL: Path to your Accurev executable.
 java.lang.String getAdditionalStreamsToDetectChangesFrom()
          OGNL: Specify additional streams from which to detect changes.
 java.lang.String getLoginMappingName()
          Choose login mapping for this repository.
 java.util.List getModules()
           
 java.lang.String getName()
          Provide a name for this repository.
 long getQuietPeriod()
          Number of seconds current repository should be quiet (without checkins) before QuickBuild decides to check out the code from this repository for a build.
 java.lang.String getReferenceTree()
          Optionally specify name of the reference tree which will be created to check out code from the build stream.
 java.lang.String getStream()
          OGNL: Specify stream name to build against.
 void setAccurevExecutablePath(java.lang.String accurevExecutablePath)
           
 void setAdditionalStreamsToDetectChangesFrom(java.lang.String additionalStreamsToDetectChangesFrom)
           
 void setLoginMappingName(java.lang.String loginMappingName)
           
 void setModules(java.util.List modules)
           
 void setName(java.lang.String name)
           
 void setQuietPeriod(long quietPeriod)
           
 void setReferenceTree(java.lang.String referenceTree)
           
 void setStream(java.lang.String stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccurevRepositoryFacade

public AccurevRepositoryFacade()
Method Detail

getStream

public java.lang.String getStream()
OGNL: Specify stream name to build against. You can also specify a snapshot name here to build against a particular snapshot. Other settings such as Accurev server, user name, password will be taken from Accurev client installed at this build machine. Contents of this stream will be retrieved to directory denoted by return value of method call getWorkspaceDir(build) (refer to Accurev sample of the online demo).


setStream

public void setStream(java.lang.String stream)

getAdditionalStreamsToDetectChangesFrom

public java.lang.String getAdditionalStreamsToDetectChangesFrom()
OGNL: Specify additional streams from which to detect changes. This is useful when you want to detect promotions made into other streams whose file changes will be propagated to the build stream. Multiple streams should be separated by spaces, and single stream name containing spaces should be quoted.


setAdditionalStreamsToDetectChangesFrom

public void setAdditionalStreamsToDetectChangesFrom(java.lang.String additionalStreamsToDetectChangesFrom)

getReferenceTree

public java.lang.String getReferenceTree()
Optionally specify name of the reference tree which will be created to check out code from the build stream. If not specified, QuickBuild will generate name of the reference tree.


setReferenceTree

public void setReferenceTree(java.lang.String referenceTree)

getAccurevExecutablePath

public java.lang.String getAccurevExecutablePath()
OGNL: Path to your Accurev executable. For example: C:\\Program Files\\AccuRev\\bin\\accurev.exe.
It should be specified here, if it does not exist in the system path.


setAccurevExecutablePath

public void setAccurevExecutablePath(java.lang.String accurevExecutablePath)

getQuietPeriod

public long getQuietPeriod()
Number of seconds current repository should be quiet (without checkins) before QuickBuild decides to check out the code from this repository for a build. This is used to avoid checking out code in the middle of some other checkins. This property is optional. When set as 0, quiet period will not be used before checking out code to build.


setQuietPeriod

public void setQuietPeriod(long quietPeriod)

getName

public java.lang.String getName()
Provide a name for this repository.


setName

public void setName(java.lang.String name)

getModules

public java.util.List getModules()

setModules

public void setModules(java.util.List modules)

getLoginMappingName

public java.lang.String getLoginMappingName()
Choose login mapping for this repository. Login mapping is used to map repository login to QuickBuild user. It can be configured at \"login mappings\" tab of the configuration.


setLoginMappingName

public void setLoginMappingName(java.lang.String loginMappingName)


Copyright © 2005 PMEase Inc. All Rights Reserved.