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