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.Builder
addEnvironment(Consumer<TestEnvironmentDetails.Builder> builderConsumer)
TestDeploymentProjectDetails.Builder
branch(PlanKey branchKey)
TestDeploymentProjectDetails
build()
TestDeploymentProjectDetails.Builder
withDescription(String description)
TestDeploymentProjectDetails.Builder
withName(String name)
TestDeploymentProjectDetails.Builder
withNamingDetails(Consumer<TestDeploymentProjectVersionNamingDetails.Builder> builderConsumer)
TestDeploymentProjectDetails.Builder
withPlan(PlanKey planKey)
TestDeploymentProjectDetails.Builder
withPlan(TestBuildDetails planDetails)
TestDeploymentProjectDetails.Builder
withUniqueName()
-
-
-
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()
-
-