Class ScmCheckoutCommandsForReplicaBuilder
- java.lang.Object
-
- com.collabnet.ce.soap60.webservices.scm.ScmCheckoutCommandsForReplicaBuilder
-
public class ScmCheckoutCommandsForReplicaBuilder extends Object
Builds checkout commands for replicated repository.- Since:
- 8.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classScmCheckoutCommandsForReplicaBuilder.ReplicaCheckoutDataCheckout data that contains also replica data.
-
Field Summary
Fields Modifier and Type Field Description protected com.vasoftware.sf.server.services.scm.RepositoryDOrepositoryprotected com.vasoftware.sf.server.types.UserSessionKeysessionKeyprotected com.vasoftware.sf.server.services.user.UserDOuser
-
Constructor Summary
Constructors Constructor Description ScmCheckoutCommandsForReplicaBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vasoftware.sf.server.services.scm.CheckoutCommand.CheckoutCommandSpecificationbuild()Builds repository checkout commands out of provided parameters.protected ScmCheckoutCommandsForReplicaBuilder.ReplicaCheckoutDatagetCheckoutData()GetsAbstractScmCommandsCheckoutBuilder.BasicCheckoutDataScmCheckoutCommandsForReplicaBuilderwithReplica(String inputReplicaId)TwithRepository(com.vasoftware.sf.server.services.scm.RepositoryDO repositoryData)TwithSession(com.vasoftware.sf.server.types.UserSessionKey inputSessionKey)TwithUser(com.vasoftware.sf.server.services.user.UserDO inputUser)
-
-
-
Method Detail
-
build
public com.vasoftware.sf.server.services.scm.CheckoutCommand.CheckoutCommandSpecification build() throws NoSuchObjectFault, SystemFaultBuilds repository checkout commands out of provided parameters.- Returns:
- never
null - Throws:
NoSuchObjectFault- seegetCheckoutData()for detailsSystemFault- seegetCheckoutData()for details
-
withReplica
public ScmCheckoutCommandsForReplicaBuilder withReplica(String inputReplicaId)
- Parameters:
inputReplicaId- is added to available parameters- Returns:
thisinstance
-
getCheckoutData
protected ScmCheckoutCommandsForReplicaBuilder.ReplicaCheckoutData getCheckoutData() throws NoSuchObjectFault, SystemFault
GetsAbstractScmCommandsCheckoutBuilder.BasicCheckoutData- Returns:
- never
null - Throws:
NoSuchObjectFault- when neither system nor strategy couldn't have been obtainedSystemFault- when non-SCM system id was provided
-
withSession
public T withSession(com.vasoftware.sf.server.types.UserSessionKey inputSessionKey)
- Parameters:
inputSessionKey- is added to available parameters- Returns:
thisinstance
-
withUser
public T withUser(com.vasoftware.sf.server.services.user.UserDO inputUser)
- Parameters:
inputUser- is added to available parameters- Returns:
thisinstance
-
withRepository
public T withRepository(com.vasoftware.sf.server.services.scm.RepositoryDO repositoryData)
- Parameters:
repositoryData- is added to available parameters- Returns:
thisinstance
-
-