Class TestDeploymentProjectDetails.Builder
- java.lang.Object
-
- com.atlassian.bamboo.testutils.model.deployments.projects.TestDeploymentProjectDetails.Builder
-
- Enclosing class:
- TestDeploymentProjectDetails
public static class TestDeploymentProjectDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestDeploymentProjectDetails.BuilderaddEnvironment(Consumer<TestEnvironmentDetails.Builder> builderConsumer)TestDeploymentProjectDetails.Builderbranch(PlanKey branchKey)TestDeploymentProjectDetailsbuild()TestDeploymentProjectDetails.BuilderwithDescription(String description)TestDeploymentProjectDetails.BuilderwithName(String name)TestDeploymentProjectDetails.BuilderwithNamingDetails(Consumer<TestDeploymentProjectVersionNamingDetails.Builder> builderConsumer)TestDeploymentProjectDetails.BuilderwithPlan(PlanKey planKey)TestDeploymentProjectDetails.BuilderwithPlan(TestBuildDetails planDetails)TestDeploymentProjectDetails.BuilderwithUniqueName()
-
-
-
Method Detail
-
withName
public TestDeploymentProjectDetails.Builder withName(String name)
-
withUniqueName
public TestDeploymentProjectDetails.Builder withUniqueName()
-
withDescription
public TestDeploymentProjectDetails.Builder withDescription(String description)
-
withPlan
public TestDeploymentProjectDetails.Builder withPlan(PlanKey planKey)
-
withPlan
public TestDeploymentProjectDetails.Builder withPlan(TestBuildDetails planDetails)
-
branch
public TestDeploymentProjectDetails.Builder branch(PlanKey branchKey)
-
withNamingDetails
public TestDeploymentProjectDetails.Builder withNamingDetails(Consumer<TestDeploymentProjectVersionNamingDetails.Builder> builderConsumer)
-
addEnvironment
public TestDeploymentProjectDetails.Builder addEnvironment(Consumer<TestEnvironmentDetails.Builder> builderConsumer)
-
build
public TestDeploymentProjectDetails build()
-
-