com.atlassian.bamboo.license
Class BambooLicenseManagerImpl

java.lang.Object
  extended by com.atlassian.bamboo.license.BambooLicenseManagerImpl
All Implemented Interfaces:
BambooLicenseManager

public class BambooLicenseManagerImpl
extends java.lang.Object
implements BambooLicenseManager


Field Summary
static java.lang.String BAMBOO_LICENSE_KEY
           
static java.lang.String BAMBOO_LICENSE_REG_LOCATION
           
 
Constructor Summary
BambooLicenseManagerImpl()
           
 
Method Summary
 boolean authenticateLicense(java.lang.String license)
           
 int getAllowedNumberOfLocalAgents()
           
 int getAllowedNumberOfLocalAgents(com.atlassian.license.LicenseType type)
           
 int getAllowedNumberOfRemoteAgents()
           
 int getAllowedNumberOfRemoteAgents(com.atlassian.license.LicenseType type)
           
 com.atlassian.license.License getLicense()
           
 com.atlassian.license.LicenseRegistry getLicenseRegistry()
           
 boolean isAcademic()
           
 boolean isBasicEdition()
           
 boolean isBasicEdition(com.atlassian.license.LicenseType type)
           
 boolean isCommunity()
           
 boolean isDemonstration()
           
 boolean isDeveloper()
           
 boolean isEnterpriseEdition()
           
 boolean isEnterpriseEdition(com.atlassian.license.LicenseType type)
           
 boolean isEvaluation()
           
 boolean isExpired()
           
 boolean isLicenseValid(com.atlassian.license.License license)
           
 boolean isMissing()
           
 boolean isOpenSource()
           
 boolean isProfessionalEdition()
           
 boolean isProfessionalEdition(com.atlassian.license.LicenseType type)
           
 boolean isStandardEdition()
           
 boolean isStandardEdition(com.atlassian.license.LicenseType type)
           
 com.atlassian.license.License setLicense(java.lang.String license)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BAMBOO_LICENSE_KEY

public static final java.lang.String BAMBOO_LICENSE_KEY
See Also:
Constant Field Values

BAMBOO_LICENSE_REG_LOCATION

public static final java.lang.String BAMBOO_LICENSE_REG_LOCATION
See Also:
Constant Field Values
Constructor Detail

BambooLicenseManagerImpl

public BambooLicenseManagerImpl()
Method Detail

getLicense

public com.atlassian.license.License getLicense()
Specified by:
getLicense in interface BambooLicenseManager

setLicense

public com.atlassian.license.License setLicense(java.lang.String license)
Specified by:
setLicense in interface BambooLicenseManager

authenticateLicense

public boolean authenticateLicense(java.lang.String license)
Specified by:
authenticateLicense in interface BambooLicenseManager

isLicenseValid

public boolean isLicenseValid(com.atlassian.license.License license)
Specified by:
isLicenseValid in interface BambooLicenseManager

getLicenseRegistry

public com.atlassian.license.LicenseRegistry getLicenseRegistry()
Specified by:
getLicenseRegistry in interface BambooLicenseManager

getAllowedNumberOfRemoteAgents

public int getAllowedNumberOfRemoteAgents()
Specified by:
getAllowedNumberOfRemoteAgents in interface BambooLicenseManager

getAllowedNumberOfRemoteAgents

public int getAllowedNumberOfRemoteAgents(com.atlassian.license.LicenseType type)
Specified by:
getAllowedNumberOfRemoteAgents in interface BambooLicenseManager

getAllowedNumberOfLocalAgents

public int getAllowedNumberOfLocalAgents()
Specified by:
getAllowedNumberOfLocalAgents in interface BambooLicenseManager

getAllowedNumberOfLocalAgents

public int getAllowedNumberOfLocalAgents(com.atlassian.license.LicenseType type)
Specified by:
getAllowedNumberOfLocalAgents in interface BambooLicenseManager

isBasicEdition

public boolean isBasicEdition()
Specified by:
isBasicEdition in interface BambooLicenseManager

isBasicEdition

public boolean isBasicEdition(com.atlassian.license.LicenseType type)
Specified by:
isBasicEdition in interface BambooLicenseManager

isStandardEdition

public boolean isStandardEdition()
Specified by:
isStandardEdition in interface BambooLicenseManager

isStandardEdition

public boolean isStandardEdition(com.atlassian.license.LicenseType type)
Specified by:
isStandardEdition in interface BambooLicenseManager

isProfessionalEdition

public boolean isProfessionalEdition()
Specified by:
isProfessionalEdition in interface BambooLicenseManager

isProfessionalEdition

public boolean isProfessionalEdition(com.atlassian.license.LicenseType type)
Specified by:
isProfessionalEdition in interface BambooLicenseManager

isEnterpriseEdition

public boolean isEnterpriseEdition()
Specified by:
isEnterpriseEdition in interface BambooLicenseManager

isEnterpriseEdition

public boolean isEnterpriseEdition(com.atlassian.license.LicenseType type)
Specified by:
isEnterpriseEdition in interface BambooLicenseManager

isMissing

public boolean isMissing()
Specified by:
isMissing in interface BambooLicenseManager

isExpired

public boolean isExpired()
Specified by:
isExpired in interface BambooLicenseManager

isEvaluation

public boolean isEvaluation()
Specified by:
isEvaluation in interface BambooLicenseManager

isAcademic

public boolean isAcademic()
Specified by:
isAcademic in interface BambooLicenseManager

isDemonstration

public boolean isDemonstration()
Specified by:
isDemonstration in interface BambooLicenseManager

isDeveloper

public boolean isDeveloper()
Specified by:
isDeveloper in interface BambooLicenseManager

isCommunity

public boolean isCommunity()
Specified by:
isCommunity in interface BambooLicenseManager

isOpenSource

public boolean isOpenSource()
Specified by:
isOpenSource in interface BambooLicenseManager


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.