com.atlassian.bamboo.deployments
Class DeploymentMocks

java.lang.Object
  extended by com.atlassian.bamboo.deployments.DeploymentMocks

public class DeploymentMocks
extends java.lang.Object


Method Summary
static InternalDeploymentProject mockDeploymentProject(long id, java.lang.String name, java.lang.String description, PlanKey planKey)
           
static InternalDeploymentProjectItem mockDeploymentProjectItem(long id, java.lang.String name, ProjectItemType projectItemType)
           
static InternalDeploymentResult mockDeploymentResult(java.lang.String deploymentVersionName, BuildState deploymentState, LifeCycleState lifeCycleState)
           
static InternalDeploymentVersion mockDeploymentVersion(long id, java.lang.String name)
           
static InternalDeploymentVersionStatus mockDeploymentVersionStatus(java.lang.String userName, DeploymentVersionState deploymentVersionState)
           
static InternalEnvironment mockEnvironment(long id, java.lang.String name)
           
static InternalVersionNamingScheme mockVersionNamingScheme(long id, java.lang.String nextVersionName, boolean isAutoIncrement, java.util.Set<java.lang.String> variablesToAutoincrement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

mockDeploymentProject

public static InternalDeploymentProject mockDeploymentProject(long id,
                                                              @NotNull
                                                              java.lang.String name,
                                                              @Nullable
                                                              java.lang.String description,
                                                              @Nullable
                                                              PlanKey planKey)

mockDeploymentProjectItem

public static InternalDeploymentProjectItem mockDeploymentProjectItem(long id,
                                                                      @NotNull
                                                                      java.lang.String name,
                                                                      @NotNull
                                                                      ProjectItemType projectItemType)

mockVersionNamingScheme

public static InternalVersionNamingScheme mockVersionNamingScheme(long id,
                                                                  @NotNull
                                                                  java.lang.String nextVersionName,
                                                                  boolean isAutoIncrement,
                                                                  @NotNull
                                                                  java.util.Set<java.lang.String> variablesToAutoincrement)

mockEnvironment

public static InternalEnvironment mockEnvironment(long id,
                                                  @NotNull
                                                  java.lang.String name)

mockDeploymentVersion

public static InternalDeploymentVersion mockDeploymentVersion(long id,
                                                              @NotNull
                                                              java.lang.String name)

mockDeploymentVersionStatus

public static InternalDeploymentVersionStatus mockDeploymentVersionStatus(@NotNull
                                                                          java.lang.String userName,
                                                                          @NotNull
                                                                          DeploymentVersionState deploymentVersionState)

mockDeploymentResult

public static InternalDeploymentResult mockDeploymentResult(@NotNull
                                                            java.lang.String deploymentVersionName,
                                                            @NotNull
                                                            BuildState deploymentState,
                                                            @NotNull
                                                            LifeCycleState lifeCycleState)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.