com.atlassian.bamboo.ww2.aware
Interface PlanLimitAware

All Known Implementing Classes:
ConfigureBuildArtifact, ConfigureBuildBuilder, ConfigureBuildDependencies, ConfigureBuildNotification, ConfigureBuildPermissions, ConfigureBuildPostAction, ConfigureBuildRepository, ConfigureBuildRequirement, CreateBuild, ImportMavenPlanAction, ImportMavenPlanCheckoutPomAction, ImportMavenPlanCreatePlanAction

public interface PlanLimitAware

For classes that want to know whether the bamboo instance has reached its plan limit yet.


Method Summary
 boolean isPlanLimitReached()
          Allows UI to check whether the plan limit has been reached
 void setPlanLimitReached()
          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.


Copyright © 2010 Atlassian. All Rights Reserved.