public interface LicenseRoleDefinitions
LicenseRoleDefinitions
that provide the definition for LicenseRoles.| Modifier and Type | Method and Description |
|---|---|
com.atlassian.fugue.Option<LicenseRoleDefinition> |
getDefinedRoleDefinition(LicenseRoleId licenseRoleId)
Return the
LicenseRoleDefinition associated with the passed LicenseRoleId
provided it is defined. |
Set<LicenseRoleDefinition> |
getDefinedRoleDefinitions()
Return all the defined
LicenseRoleDefinitions. |
com.atlassian.fugue.Option<LicenseRoleDefinition> |
getInstalledRoleDefinition(LicenseRoleId licenseRoleId)
Return the
LicenseRoleDefinition associated with the passed LicenseRoleId
provided it is installed. |
Set<LicenseRoleDefinition> |
getInstalledRoleDefinitions()
Return all the installed
LicenseRoleDefinitions. |
boolean |
isLicenseRoleDefined(LicenseRoleId licenseRoleId)
|
boolean |
isLicenseRoleInstalled(LicenseRoleId licenseRoleId)
Return
true when the passed LicenseRoleId is installed. |
@Nonnull Set<LicenseRoleDefinition> getDefinedRoleDefinitions()
LicenseRoleDefinitions. A LicenseRoleDefinition is
considered defined when a plugin provides it. A defined LicenseRoleDefinition
does not necessarily have an accompanying license.LicenseRoleDefinitions.@Nonnull Set<LicenseRoleDefinition> getInstalledRoleDefinitions()
LicenseRoleDefinitions. A LicenseRoleDefinition
is considered installed when a plugin defines it and it has an accompanying license.
An installed LicenseRole has been defined by a plugin/product
AND has an accompanying license that grants that role.LicenseRoleDefinitions.boolean isLicenseRoleDefined(@Nonnull LicenseRoleId licenseRoleId)
true if the LicenseRole identified by the given LicenseRoleId
is defined.
A defined LicenseRole has been defined by a plugin/product
but does not necessarily have an accompanying license that grants that role.licenseRoleId - the ID to check.true when the passed LicenseRoleId is defined.boolean isLicenseRoleInstalled(@Nonnull LicenseRoleId licenseRoleId)
true when the passed LicenseRoleId is installed.
An installed LicenseRole has been defined by a plugin/product
AND has an accompanying license that grants that role.licenseRoleId - the ID to check.true when the passed LicenseRoleId is installed.@Nonnull com.atlassian.fugue.Option<LicenseRoleDefinition> getDefinedRoleDefinition(@Nonnull LicenseRoleId licenseRoleId)
LicenseRoleDefinition associated with the passed LicenseRoleId
provided it is defined. A value of Option.none() is returned if the passed
LicenseRoleId is undefined.
A defined LicenseRole has been defined by a plugin/product
but does not necessarily have an accompanying license that grants that role.licenseRoleId - the ID to check.LicenseRoleDefinition associated with the passed
LicenseRoleId if it is defined or Option.none()
otherwise.@Nonnull com.atlassian.fugue.Option<LicenseRoleDefinition> getInstalledRoleDefinition(@Nonnull LicenseRoleId licenseRoleId)
LicenseRoleDefinition associated with the passed LicenseRoleId
provided it is installed. A value of Option.none() is returned if the passed
LicenseRoleId is not installed.
An installed LicenseRole has been defined by a plugin/product
AND has an accompanying license that grants that role.licenseRoleId - the ID to check.LicenseRoleDefinition associated with the passed
LicenseRoleId if it is installed or Option.none()
otherwise.Copyright © 2002-2015 Atlassian. All Rights Reserved.