Package com.atlassian.bamboo.deployments
Class DeploymentMocks
java.lang.Object
com.atlassian.bamboo.deployments.DeploymentMocks
-
Method Summary
Modifier and TypeMethodDescriptionstatic InternalDeploymentProject
mockDeploymentProject
(long id, @NotNull String name, @Nullable String description, @Nullable PlanKey planKey) 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) 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 Details
-
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
-
mockMutableEnvironment
-
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)
-