public class OnDemandBambooLicenseWrapper extends Object implements com.atlassian.extras.api.bamboo.BambooLicense
Constructor and Description |
---|
OnDemandBambooLicenseWrapper(com.atlassian.extras.api.bamboo.BambooLicense bambooLicense,
BambooLicenseLimits bambooLicenseLimits) |
public OnDemandBambooLicenseWrapper(com.atlassian.extras.api.bamboo.BambooLicense bambooLicense, BambooLicenseLimits bambooLicenseLimits)
public int getMaximumNumberOfRemoteAgents()
getMaximumNumberOfRemoteAgents
in interface com.atlassian.extras.api.bamboo.BambooLicense
public int getMaximumNumberOfLocalAgents()
getMaximumNumberOfLocalAgents
in interface com.atlassian.extras.api.bamboo.BambooLicense
public int getMaximumNumberOfPlans()
getMaximumNumberOfPlans
in interface com.atlassian.extras.api.bamboo.BambooLicense
public boolean isUnlimitedRemoteAgents()
isUnlimitedRemoteAgents
in interface com.atlassian.extras.api.bamboo.BambooLicense
public boolean isUnlimitedLocalAgents()
isUnlimitedLocalAgents
in interface com.atlassian.extras.api.bamboo.BambooLicense
public boolean isUnlimitedPlans()
isUnlimitedPlans
in interface com.atlassian.extras.api.bamboo.BambooLicense
public int getLicenseVersion()
getLicenseVersion
in interface com.atlassian.extras.api.ProductLicense
public String getDescription()
getDescription
in interface com.atlassian.extras.api.ProductLicense
public com.atlassian.extras.api.Product getProduct()
getProduct
in interface com.atlassian.extras.api.ProductLicense
public Iterable<com.atlassian.extras.api.Product> getProducts()
getProducts
in interface com.atlassian.extras.api.ProductLicense
public String getServerId()
getServerId
in interface com.atlassian.extras.api.ProductLicense
public com.atlassian.extras.api.Partner getPartner()
getPartner
in interface com.atlassian.extras.api.ProductLicense
public com.atlassian.extras.api.Organisation getOrganisation()
getOrganisation
in interface com.atlassian.extras.api.ProductLicense
public Collection<com.atlassian.extras.api.Contact> getContacts()
getContacts
in interface com.atlassian.extras.api.ProductLicense
public Date getCreationDate()
getCreationDate
in interface com.atlassian.extras.api.ProductLicense
public Date getPurchaseDate()
getPurchaseDate
in interface com.atlassian.extras.api.ProductLicense
public Date getExpiryDate()
getExpiryDate
in interface com.atlassian.extras.api.ProductLicense
public int getNumberOfDaysBeforeExpiry()
getNumberOfDaysBeforeExpiry
in interface com.atlassian.extras.api.ProductLicense
public boolean isExpired()
isExpired
in interface com.atlassian.extras.api.ProductLicense
public Date getGracePeriodEndDate()
getGracePeriodEndDate
in interface com.atlassian.extras.api.ProductLicense
public int getNumberOfDaysBeforeGracePeriodExpiry()
getNumberOfDaysBeforeGracePeriodExpiry
in interface com.atlassian.extras.api.ProductLicense
public boolean isWithinGracePeriod()
isWithinGracePeriod
in interface com.atlassian.extras.api.ProductLicense
public boolean isGracePeriodExpired()
isGracePeriodExpired
in interface com.atlassian.extras.api.ProductLicense
public String getSupportEntitlementNumber()
getSupportEntitlementNumber
in interface com.atlassian.extras.api.ProductLicense
public Date getMaintenanceExpiryDate()
getMaintenanceExpiryDate
in interface com.atlassian.extras.api.ProductLicense
public int getNumberOfDaysBeforeMaintenanceExpiry()
getNumberOfDaysBeforeMaintenanceExpiry
in interface com.atlassian.extras.api.ProductLicense
public boolean isMaintenanceExpired()
isMaintenanceExpired
in interface com.atlassian.extras.api.ProductLicense
public int getMaximumNumberOfUsers()
getMaximumNumberOfUsers
in interface com.atlassian.extras.api.ProductLicense
public boolean isUnlimitedNumberOfUsers()
isUnlimitedNumberOfUsers
in interface com.atlassian.extras.api.ProductLicense
public boolean isEvaluation()
isEvaluation
in interface com.atlassian.extras.api.ProductLicense
public boolean isSubscription()
isSubscription
in interface com.atlassian.extras.api.ProductLicense
public boolean isClusteringEnabled()
isClusteringEnabled
in interface com.atlassian.extras.api.ProductLicense
public com.atlassian.extras.api.LicenseType getLicenseType()
getLicenseType
in interface com.atlassian.extras.api.ProductLicense
public String getProperty(String s)
getProperty
in interface com.atlassian.extras.api.ProductLicense
public com.atlassian.extras.api.LicenseEdition getLicenseEdition()
getLicenseEdition
in interface com.atlassian.extras.api.LicenseEditionAware
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.