|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BambooLicenseManager
Field Summary | |
---|---|
static int |
MAX_LOCAL_AGENTS_BASIC
|
static int |
MAX_LOCAL_AGENTS_UNLIMITED
|
static int |
MAX_PLANS_STARTER
|
static int |
MAX_PLANS_UNLIMITED
|
static int |
MAX_REMOTE_AGENTS_5
|
static int |
MAX_REMOTE_AGENTS_ENTERPRISE
|
static int |
MAX_REMOTE_AGENTS_NONE
|
static int |
MAX_REMOTE_AGENTS_PROFESSIONAL
|
static int |
MAX_REMOTE_AGENTS_STANDARD
|
static int |
MAX_REMOTE_AGENTS_UNLIMITED
|
Method Summary | |
---|---|
boolean |
authenticateLicense(String license)
Checks whether or not a specific license is valid |
int |
getAllowedNumberOfLocalAgents()
Checks the maximum number of local agents allowed for the current license. |
int |
getAllowedNumberOfPlans()
Checks the maximum number of plans that can be created for the current license. |
int |
getAllowedNumberOfPlans(String licenseString)
Checks the maximum number of plans that can be created for the provided license |
int |
getAllowedNumberOfRemoteAgents()
Checks the maximum number of remote agents allowed for the current license. |
com.atlassian.extras.api.bamboo.BambooLicense |
getLicense()
Retrieves the current bamboo license for this instance. |
boolean |
isAcademic()
|
boolean |
isCommercial()
|
boolean |
isCommunity()
|
boolean |
isDemonstration()
|
boolean |
isDeveloper()
|
boolean |
isEvaluation()
|
boolean |
isLicenseValid()
Checks whether the existing license is valid |
boolean |
isMaintenanceExpiredForBuild()
Checks if the maintenance has expired for the given license based on the current build number. |
boolean |
isOpenSource()
|
boolean |
isStarter()
|
void |
setLicense(String license)
Sets the license for this Bamboo instance. |
void |
updateOnDemandLimitsFromLicense()
Used for Cloud to bootstrap license limits from current license. |
Field Detail |
---|
static final int MAX_PLANS_UNLIMITED
static final int MAX_REMOTE_AGENTS_NONE
static final int MAX_REMOTE_AGENTS_STANDARD
static final int MAX_REMOTE_AGENTS_5
static final int MAX_REMOTE_AGENTS_PROFESSIONAL
static final int MAX_REMOTE_AGENTS_ENTERPRISE
static final int MAX_REMOTE_AGENTS_UNLIMITED
static final int MAX_LOCAL_AGENTS_BASIC
static final int MAX_LOCAL_AGENTS_UNLIMITED
static final int MAX_PLANS_STARTER
Method Detail |
---|
@Nullable com.atlassian.extras.api.bamboo.BambooLicense getLicense()
void updateOnDemandLimitsFromLicense()
void setLicense(String license)
license
- stringboolean authenticateLicense(String license)
license
- to check
boolean isLicenseValid()
boolean isMaintenanceExpiredForBuild()
int getAllowedNumberOfRemoteAgents()
int getAllowedNumberOfLocalAgents()
int getAllowedNumberOfPlans()
int getAllowedNumberOfPlans(String licenseString)
licenseString
- to check
boolean isStarter()
boolean isEvaluation()
boolean isAcademic()
boolean isDemonstration()
boolean isDeveloper()
boolean isCommunity()
boolean isOpenSource()
boolean isCommercial()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |