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 InternalDeploymentProjectmockDeploymentProject(long id, @NotNull String name, @Nullable String description, @Nullable PlanKey planKey)static InternalDeploymentProjectItemmockDeploymentProjectItem(long id, @NotNull String name, @NotNull ProjectItemType projectItemType)static InternalDeploymentResultmockDeploymentResult(@NotNull String deploymentVersionName, @NotNull BuildState deploymentState, @NotNull LifeCycleState lifeCycleState)static InternalDeploymentVersionmockDeploymentVersion(long id, @NotNull String name)static InternalDeploymentVersionStatusmockDeploymentVersionStatus(@NotNull String userName, @NotNull DeploymentVersionState deploymentVersionState)static InternalEnvironmentmockEnvironment(long id, @NotNull String name)static MutableEnvironmentmockMutableEnvironment(long id, @NotNull String key)static InternalVersionNamingSchememockVersionNamingScheme(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)
-
-