Class TestPlanSpecsHelper
java.lang.Object
com.atlassian.bamboo.testutils.specs.TestPlanSpecsHelper
Helper for creating Plan specs to be used in Bamboo functional tests.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.atlassian.bamboo.specs.api.builders.plan.Job
static com.atlassian.bamboo.specs.api.builders.plan.Stage
static com.atlassian.bamboo.specs.api.model.plan.JobProperties
getDefaultJob
(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan) static PlanKey
getDefaultJobKey
(com.atlassian.bamboo.specs.api.builders.plan.Plan plan) static PlanKey
getDefaultJobKey
(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan) static String
getFullPlanName
(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan) static PlanKey
getJobKey
(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan, com.atlassian.bamboo.specs.api.model.plan.JobProperties job) static com.atlassian.bamboo.specs.api.builders.plan.PlanIdentifier
getPlanIdentifier
(com.atlassian.bamboo.specs.api.builders.plan.Plan plan) static com.atlassian.bamboo.specs.api.builders.plan.PlanIdentifier
getPlanIdentifier
(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan) static PlanKey
getPlanKey
(com.atlassian.bamboo.specs.api.builders.plan.Plan plan) static PlanKey
getPlanKey
(com.atlassian.bamboo.specs.api.model.plan.PlanIdentifierProperties plan) static PlanKey
getPlanKey
(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan) static String
getPlanName
(com.atlassian.bamboo.specs.api.builders.plan.Plan plan) static com.atlassian.bamboo.specs.api.builders.plan.Plan
static com.atlassian.bamboo.specs.api.builders.plan.Plan
static com.atlassian.bamboo.specs.api.builders.plan.Plan
simpleNoRepositoryPlanForConfigTests
(com.atlassian.bamboo.specs.api.builders.plan.Plan plan) static com.atlassian.bamboo.specs.api.builders.plan.Plan
simpleNoRepositoryPlanForConfigTests
(com.atlassian.bamboo.specs.api.builders.project.Project project) static com.atlassian.bamboo.specs.api.builders.plan.Plan
singleJobPlan
(com.atlassian.bamboo.specs.api.builders.plan.Job job) static com.atlassian.bamboo.specs.api.builders.plan.Plan
singleJobPlan
(com.atlassian.bamboo.specs.api.builders.plan.Plan plan, com.atlassian.bamboo.specs.api.builders.plan.Job job) static com.atlassian.bamboo.specs.api.builders.plan.Plan
static com.atlassian.bamboo.specs.api.builders.plan.Plan
uniquePlan
(com.atlassian.bamboo.specs.api.builders.project.Project project)
-
Constructor Details
-
TestPlanSpecsHelper
public TestPlanSpecsHelper()
-
-
Method Details
-
getPlanIdentifier
public static com.atlassian.bamboo.specs.api.builders.plan.PlanIdentifier getPlanIdentifier(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan) -
getPlanIdentifier
public static com.atlassian.bamboo.specs.api.builders.plan.PlanIdentifier getPlanIdentifier(com.atlassian.bamboo.specs.api.builders.plan.Plan plan) -
getPlanKey
-
getPlanName
-
getPlanKey
-
getPlanKey
public static PlanKey getPlanKey(com.atlassian.bamboo.specs.api.model.plan.PlanIdentifierProperties plan) -
getJobKey
public static PlanKey getJobKey(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan, com.atlassian.bamboo.specs.api.model.plan.JobProperties job) -
getDefaultJobKey
public static PlanKey getDefaultJobKey(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan) -
getDefaultJobKey
-
getDefaultJob
public static com.atlassian.bamboo.specs.api.model.plan.JobProperties getDefaultJob(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan) -
getFullPlanName
-
uniquePlan
public static com.atlassian.bamboo.specs.api.builders.plan.Plan uniquePlan() -
uniquePlan
public static com.atlassian.bamboo.specs.api.builders.plan.Plan uniquePlan(com.atlassian.bamboo.specs.api.builders.project.Project project) -
simpleNoRepositoryPlanForConfigTests
public static com.atlassian.bamboo.specs.api.builders.plan.Plan simpleNoRepositoryPlanForConfigTests() -
simpleNoRepositoryPlanForConfigTests
public static com.atlassian.bamboo.specs.api.builders.plan.Plan simpleNoRepositoryPlanForConfigTests(com.atlassian.bamboo.specs.api.builders.project.Project project) -
simpleNoRepositoryPlanForConfigTests
public static com.atlassian.bamboo.specs.api.builders.plan.Plan simpleNoRepositoryPlanForConfigTests(com.atlassian.bamboo.specs.api.builders.plan.Plan plan) -
simpleGitRepositoryPlan
public static com.atlassian.bamboo.specs.api.builders.plan.Plan simpleGitRepositoryPlan() -
singleJobPlan
public static com.atlassian.bamboo.specs.api.builders.plan.Plan singleJobPlan(com.atlassian.bamboo.specs.api.builders.plan.Job job) -
singleJobPlan
public static com.atlassian.bamboo.specs.api.builders.plan.Plan singleJobPlan(com.atlassian.bamboo.specs.api.builders.plan.Plan plan, com.atlassian.bamboo.specs.api.builders.plan.Job job) -
defaultStage
public static com.atlassian.bamboo.specs.api.builders.plan.Stage defaultStage() -
defaultJob
public static com.atlassian.bamboo.specs.api.builders.plan.Job defaultJob()
-