Class TestPlanSpecsHelper


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.atlassian.bamboo.specs.api.builders.plan.Job defaultJob()  
      static com.atlassian.bamboo.specs.api.builders.plan.Stage defaultStage()  
      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 simpleGitRepositoryPlan()  
      static com.atlassian.bamboo.specs.api.builders.plan.Plan simpleNoRepositoryPlanForConfigTests()  
      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 uniquePlan()  
      static com.atlassian.bamboo.specs.api.builders.plan.Plan uniquePlan​(com.atlassian.bamboo.specs.api.builders.project.Project project)  
    • Constructor Detail

      • TestPlanSpecsHelper

        public TestPlanSpecsHelper()
    • Method Detail

      • 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()