|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.plan.DefaultPlanManager
public class DefaultPlanManager
Constructor Summary | |
---|---|
DefaultPlanManager(PlanDao planDao,
BuildManager buildManager,
ChainManager chainManager)
|
Method Summary | |
---|---|
java.util.Collection<Plan> |
getAllPlans()
Returns all Plan 's |
Plan |
getPlanById(long id)
Returns a Plan by its id |
Plan |
getPlanByKey(java.lang.String planKey)
Returns a Plan by its planKey |
void |
savePlan(Plan plan)
Saves the Plan |
void |
updateLatestVcsKey(Plan plan,
java.lang.String vcsRevisionKey)
Updates the build to the latest passed revision key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPlanManager(@NotNull PlanDao planDao, @NotNull BuildManager buildManager, @NotNull ChainManager chainManager)
Method Detail |
---|
@Nullable public Plan getPlanById(long id)
PlanManager
Plan
by its id
getPlanById
in interface PlanManager
@Nullable public Plan getPlanByKey(@NotNull java.lang.String planKey)
PlanManager
Plan
by its planKey
getPlanByKey
in interface PlanManager
@NotNull public java.util.Collection<Plan> getAllPlans()
PlanManager
Plan
's
getAllPlans
in interface PlanManager
public void savePlan(@NotNull Plan plan)
PlanManager
Plan
savePlan
in interface PlanManager
public void updateLatestVcsKey(@NotNull Plan plan, @NotNull java.lang.String vcsRevisionKey)
PlanManager
updateLatestVcsKey
in interface PlanManager
plan
- - Plan keyvcsRevisionKey
- - revision key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |