Package com.atlassian.bamboo.ww2.aware
Interface PlanLimitAware
-
- All Known Implementing Classes:
CreateChain,CreateChainRepository,CreateJob,ImportMavenPlanAction,ImportMavenPlanCheckoutPomAction,ImportMavenPlanCreatePlanAction
public interface PlanLimitAwareFor classes that want to know whether the bamboo instance has reached its plan limit yet.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisPlanLimitReached()Allows UI to check whether the plan limit has been reachedvoidsetPlanLimitReached()Called if the interceptor detects that the plan limit has been exhausted.
-
-
-
Method Detail
-
setPlanLimitReached
void setPlanLimitReached()
Called if the interceptor detects that the plan limit has been exhausted. Its up to the actions as to how they react
-
isPlanLimitReached
boolean isPlanLimitReached()
Allows UI to check whether the plan limit has been reached- Returns:
- true if the plan limit has been reached or not.
-
-