Package com.atlassian.bamboo.deployments
Class DeploymentMocks
- java.lang.Object
-
- com.atlassian.bamboo.deployments.DeploymentMocks
-
public class DeploymentMocks extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InternalDeploymentProject
mockDeploymentProject(long id, @NotNull String name, @Nullable String description, @Nullable PlanKey planKey)
static InternalDeploymentProjectItem
mockDeploymentProjectItem(long id, @NotNull String name, @NotNull ProjectItemType projectItemType)
static InternalDeploymentResult
mockDeploymentResult(@NotNull String deploymentVersionName, @NotNull BuildState deploymentState, @NotNull LifeCycleState lifeCycleState)
static InternalDeploymentVersion
mockDeploymentVersion(long id, @NotNull String name)
static InternalDeploymentVersionStatus
mockDeploymentVersionStatus(@NotNull String userName, @NotNull DeploymentVersionState deploymentVersionState)
static InternalEnvironment
mockEnvironment(long id, @NotNull String name)
static MutableEnvironment
mockMutableEnvironment(long id, @NotNull String key)
static InternalVersionNamingScheme
mockVersionNamingScheme(long id, @NotNull String nextVersionName, boolean isAutoIncrement, @NotNull Set<String> variablesToAutoincrement)
-
-
-
Method Detail
-
mockDeploymentProject
public static InternalDeploymentProject mockDeploymentProject(long id, @NotNull @NotNull String name, @Nullable @Nullable String description, @Nullable @Nullable PlanKey planKey)
-
mockDeploymentProjectItem
public static InternalDeploymentProjectItem mockDeploymentProjectItem(long id, @NotNull @NotNull String name, @NotNull @NotNull ProjectItemType projectItemType)
-
mockVersionNamingScheme
public static InternalVersionNamingScheme mockVersionNamingScheme(long id, @NotNull @NotNull String nextVersionName, boolean isAutoIncrement, @NotNull @NotNull Set<String> variablesToAutoincrement)
-
mockEnvironment
public static InternalEnvironment mockEnvironment(long id, @NotNull @NotNull String name)
-
mockMutableEnvironment
public static MutableEnvironment mockMutableEnvironment(long id, @NotNull @NotNull String key)
-
mockDeploymentVersion
public static InternalDeploymentVersion mockDeploymentVersion(long id, @NotNull @NotNull String name)
-
mockDeploymentVersionStatus
public static InternalDeploymentVersionStatus mockDeploymentVersionStatus(@NotNull @NotNull String userName, @NotNull @NotNull DeploymentVersionState deploymentVersionState)
-
mockDeploymentResult
public static InternalDeploymentResult mockDeploymentResult(@NotNull @NotNull String deploymentVersionName, @NotNull @NotNull BuildState deploymentState, @NotNull @NotNull LifeCycleState lifeCycleState)
-
-