Package com.atlassian.bamboo.ww2.aware
Interface PlanLimitAware
- All Known Implementing Classes:
CreateChain
,CreateChainRepository
,CreateJob
,ImportMavenPlanAction
,ImportMavenPlanCheckoutPomAction
,ImportMavenPlanCreatePlanAction
public interface PlanLimitAware
For classes that want to know whether the bamboo instance has reached its plan limit yet.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Allows UI to check whether the plan limit has been reachedvoid
Called if the interceptor detects that the plan limit has been exhausted.
-
Method Details
-
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.
-