public abstract class LicenseWebFacadeTemplate extends Object implements LicenseWebFacade
Constructor and Description |
---|
LicenseWebFacadeTemplate(LicenseService delegate) |
Modifier and Type | Method and Description |
---|---|
protected abstract LicenseExceptionHandler<Exception> |
createExceptionHandler() |
com.atlassian.fugue.Either<String,com.atlassian.extras.api.confluence.ConfluenceLicense> |
install(String licenseString) |
com.atlassian.fugue.Either<String,Boolean> |
isLicensedForDataCenter() |
com.atlassian.fugue.Either<String,com.atlassian.extras.api.confluence.ConfluenceLicense> |
retrieve() |
com.atlassian.fugue.Either<String,com.atlassian.fugue.Maybe<com.atlassian.extras.api.ProductLicense>> |
retrieve(com.atlassian.extras.api.Product product) |
com.atlassian.fugue.Either<String,com.atlassian.extras.api.confluence.ConfluenceLicense> |
validate(String licenseString) |
com.atlassian.fugue.Either<String,com.atlassian.extras.api.ProductLicense> |
validatePlugin(String licenseString,
com.atlassian.extras.api.Product product) |
public LicenseWebFacadeTemplate(LicenseService delegate)
public com.atlassian.fugue.Either<String,com.atlassian.extras.api.confluence.ConfluenceLicense> retrieve()
retrieve
in interface LicenseWebFacade
LicenseService.retrieve()
public com.atlassian.fugue.Either<String,com.atlassian.fugue.Maybe<com.atlassian.extras.api.ProductLicense>> retrieve(com.atlassian.extras.api.Product product)
retrieve
in interface LicenseWebFacade
LicenseService.retrieve(Product)
public com.atlassian.fugue.Either<String,com.atlassian.extras.api.confluence.ConfluenceLicense> validate(String licenseString) throws LicenseException, KnownConfluenceLicenseValidationException
validate
in interface LicenseWebFacade
LicenseException
KnownConfluenceLicenseValidationException
LicenseService.validate(String)
public com.atlassian.fugue.Either<String,com.atlassian.extras.api.ProductLicense> validatePlugin(String licenseString, com.atlassian.extras.api.Product product) throws LicenseException, KnownConfluenceLicenseValidationException
validatePlugin
in interface LicenseWebFacade
LicenseException
KnownConfluenceLicenseValidationException
LicenseService.validate(String, com.atlassian.extras.api.Product)
public com.atlassian.fugue.Either<String,com.atlassian.extras.api.confluence.ConfluenceLicense> install(String licenseString) throws LicenseException, KnownConfluenceLicenseValidationException
install
in interface LicenseWebFacade
LicenseException
KnownConfluenceLicenseValidationException
LicenseService.install(String)
public com.atlassian.fugue.Either<String,Boolean> isLicensedForDataCenter()
isLicensedForDataCenter
in interface LicenseWebFacade
LicenseService.isLicensedForDataCenter()
protected abstract LicenseExceptionHandler<Exception> createExceptionHandler()
Copyright © 2003–2016 Atlassian. All rights reserved.