com.atlassian.bamboo.plugins.rest.service
Interface PlanService

All Known Implementing Classes:
PlanServiceImpl

public interface PlanService


Method Summary
 RestBranchLatestActive createLatestActiveBranchResult(ImmutablePlan branch)
           
 RestPlanBranchList createPaginatedBranchResponse(java.util.Collection<? extends ImmutablePlan> branches, com.atlassian.user.User user, javax.ws.rs.core.UriInfo uriInfo)
           
 RestPlans createPaginatedPlanResponse(java.util.Collection<Plan> plans, com.atlassian.user.User user, javax.ws.rs.core.UriInfo uriInfo)
           
 ImmutablePlan getBranchByName(Plan plan, java.lang.String branchName)
           
 java.util.List<ImmutableChainBranch> getBranchesForChain(Plan plan)
           
 java.util.List<ImmutableJob> getBranchesForJob(Job job)
           
 

Method Detail

getBranchesForChain

java.util.List<ImmutableChainBranch> getBranchesForChain(Plan plan)

getBranchesForJob

java.util.List<ImmutableJob> getBranchesForJob(Job job)

createPaginatedBranchResponse

RestPlanBranchList createPaginatedBranchResponse(java.util.Collection<? extends ImmutablePlan> branches,
                                                 @Nullable
                                                 com.atlassian.user.User user,
                                                 javax.ws.rs.core.UriInfo uriInfo)

createLatestActiveBranchResult

@Nullable
RestBranchLatestActive createLatestActiveBranchResult(ImmutablePlan branch)

getBranchByName

ImmutablePlan getBranchByName(Plan plan,
                              java.lang.String branchName)

createPaginatedPlanResponse

RestPlans createPaginatedPlanResponse(java.util.Collection<Plan> plans,
                                      @Nullable
                                      com.atlassian.user.User user,
                                      javax.ws.rs.core.UriInfo uriInfo)


Copyright © 2012 Atlassian. All Rights Reserved.