public class DeploymentMocks extends Object
Modifier and Type | Method and Description |
---|---|
static InternalDeploymentProject |
mockDeploymentProject(long id,
String name,
String description,
PlanKey planKey) |
static InternalDeploymentProjectItem |
mockDeploymentProjectItem(long id,
String name,
ProjectItemType projectItemType) |
static InternalDeploymentResult |
mockDeploymentResult(String deploymentVersionName,
BuildState deploymentState,
LifeCycleState lifeCycleState) |
static InternalDeploymentVersion |
mockDeploymentVersion(long id,
String name) |
static InternalDeploymentVersionStatus |
mockDeploymentVersionStatus(String userName,
DeploymentVersionState deploymentVersionState) |
static InternalEnvironment |
mockEnvironment(long id,
String name) |
static MutableEnvironment |
mockMutableEnvironment(long id,
String key) |
static InternalVersionNamingScheme |
mockVersionNamingScheme(long id,
String nextVersionName,
boolean isAutoIncrement,
Set<String> variablesToAutoincrement) |
public static InternalDeploymentProject mockDeploymentProject(long id, @NotNull String name, @Nullable String description, @Nullable PlanKey planKey)
public static InternalDeploymentProjectItem mockDeploymentProjectItem(long id, @NotNull String name, @NotNull ProjectItemType projectItemType)
public static InternalVersionNamingScheme mockVersionNamingScheme(long id, @NotNull String nextVersionName, boolean isAutoIncrement, @NotNull Set<String> variablesToAutoincrement)
public static InternalEnvironment mockEnvironment(long id, @NotNull String name)
public static MutableEnvironment mockMutableEnvironment(long id, @NotNull String key)
public static InternalDeploymentVersion mockDeploymentVersion(long id, @NotNull String name)
public static InternalDeploymentVersionStatus mockDeploymentVersionStatus(@NotNull String userName, @NotNull DeploymentVersionState deploymentVersionState)
public static InternalDeploymentResult mockDeploymentResult(@NotNull String deploymentVersionName, @NotNull BuildState deploymentState, @NotNull LifeCycleState lifeCycleState)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.