|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LicenseRoleDefinitions
Methods for accessing and querying LicenseRoleDefinition
objects.
Method Summary | |
---|---|
com.atlassian.fugue.Option<LicenseRoleDefinition> |
getAuthenticatedRoleDefinition(LicenseRoleId licenseRoleId)
Return the LicenseRoleDefinition associated with the passed LicenseRoleId
provided it is authenticated. |
Set<LicenseRoleDefinition> |
getAuthenticatedRoleDefinitions()
Return all the authenticated LicenseRoleDefinition s. |
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 LicenseRoleDefinition s. |
boolean |
isLicenseRoleAuthenticated(LicenseRoleId licenseRoleId)
Return true when the passed LicenseRoleId is authenticated. |
boolean |
isLicenseRoleDefined(LicenseRoleId licenseRoleId)
Return true when the passed LicenseRoleId is defined. |
Method Detail |
---|
@Nonnull Set<LicenseRoleDefinition> getDefinedRoleDefinitions()
LicenseRoleDefinition
s. A LicenseRoleDefinition
is defined when
a plugin provides it. This does not indicate if the LicenseRoleDefinition
is licensed or not.
LicenseRoleDefinition
s.@Nonnull Set<LicenseRoleDefinition> getAuthenticatedRoleDefinitions()
LicenseRoleDefinition
s. A LicenseRoleDefinition
is authenticated when
a plugin defines it and it is licensed.
LicenseRoleDefinition
s.boolean isLicenseRoleDefined(@Nonnull LicenseRoleId licenseRoleId)
true
when the passed LicenseRoleId
is defined.
A LicenseRoleId
is defined when a plugin provides a
LicenseRoleDefinition
. This does not indicate if the
LicenseRoleId
is licensed or not.
licenseRoleId
- the ID to check.
true
when the passed LicenseRoleId
is defined.boolean isLicenseRoleAuthenticated(@Nonnull LicenseRoleId licenseRoleId)
true
when the passed LicenseRoleId
is authenticated.
A LicenseRoleId
is authenticated when a plugin provides a
LicenseRoleDefinition
and it is also licensed.
licenseRoleId
- the ID to check.
true
when the passed LicenseRoleId
is authenticated.@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 LicenseRoleId
is defined when a plugin provides a LicenseRoleDefinition
. This does not
indicate if the LicenseRoleId
is licensed or not.
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> getAuthenticatedRoleDefinition(@Nonnull LicenseRoleId licenseRoleId)
LicenseRoleDefinition
associated with the passed LicenseRoleId
provided it is authenticated. A value of Option.none()
is returned if the passed
LicenseRoleId
is not authenticated.
A LicenseRoleId
is authenticated when a plugin provides a LicenseRoleDefinition
and it is licensed.
licenseRoleId
- the ID to check.
LicenseRoleDefinition
associated with the passed
LicenseRoleId
if it is authenticated or Option.none()
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |