Class TestPlanSpecsHelper

java.lang.Object
com.atlassian.bamboo.testutils.specs.TestPlanSpecsHelper

public class TestPlanSpecsHelper extends Object
Helper for creating Plan specs to be used in Bamboo functional tests.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public static PlanKey getPlanKey(com.atlassian.bamboo.specs.api.builders.plan.Plan plan)
    • getPlanName

      public static String getPlanName(com.atlassian.bamboo.specs.api.builders.plan.Plan plan)
    • getPlanKey

      public static PlanKey getPlanKey(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan)
    • 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

      public static PlanKey getDefaultJobKey(com.atlassian.bamboo.specs.api.builders.plan.Plan plan)
    • getDefaultJob

      public static com.atlassian.bamboo.specs.api.model.plan.JobProperties getDefaultJob(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan)
    • getFullPlanName

      public static String getFullPlanName(com.atlassian.bamboo.specs.api.model.plan.PlanProperties plan)
    • 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()