@ParametersAreNonnullByDefault public interface ApplicationRoleDefinitions
ApplicationRoleDefinitions.ApplicationRoleDefinitions in JIRA.
An ApplicationRoleDefinition can be in these states:
ApplicationRoleDefinition defined by a plugin or by JIRA directly. A defined plugin
may or may not have a license associated.ApplicationRoleDefinition has an associated license in JIRA
(irrespective of the license state whether it has expired or it user limit has been exceeded).
ApplicationRole| Modifier and Type | Interface and Description |
|---|---|
static interface |
ApplicationRoleDefinitions.ApplicationRoleDefinition
Definition of an
ApplicationRole. |
| Modifier and Type | Method and Description |
|---|---|
Iterable<ApplicationRoleDefinitions.ApplicationRoleDefinition> |
getDefined()
Return all the defined
ApplicationRoleDefinitions. |
io.atlassian.fugue.Option<ApplicationRoleDefinitions.ApplicationRoleDefinition> |
getDefined(com.atlassian.application.api.ApplicationKey key)
Return the
ApplicationRoleDefinitions.ApplicationRoleDefinition associated with the passed ApplicationKey
provided it is defined. |
Iterable<ApplicationRoleDefinitions.ApplicationRoleDefinition> |
getLicensed()
Return all the licensed
ApplicationRoleDefinitions. |
io.atlassian.fugue.Option<ApplicationRoleDefinitions.ApplicationRoleDefinition> |
getLicensed(com.atlassian.application.api.ApplicationKey key)
Return the
ApplicationRoleDefinitions.ApplicationRoleDefinition associated with the passed ApplicationKey
provided it has a license (irrespective of the license state whether it has expired or it user limit has been
exceeded). |
boolean |
isDefined(com.atlassian.application.api.ApplicationKey key)
Return
true if the ApplicationRoleDefinitions.ApplicationRoleDefinition identified by the given ApplicationKey
is defined. |
boolean |
isLicensed(com.atlassian.application.api.ApplicationKey key)
Return
true if the ApplicationRoleDefinitions.ApplicationRoleDefinition identified by the given ApplicationKey
is licensed. |
@Nonnull Iterable<ApplicationRoleDefinitions.ApplicationRoleDefinition> getDefined()
ApplicationRoleDefinitions.ApplicationRoleDefinitions.@Nonnull io.atlassian.fugue.Option<ApplicationRoleDefinitions.ApplicationRoleDefinition> getDefined(com.atlassian.application.api.ApplicationKey key)
ApplicationRoleDefinitions.ApplicationRoleDefinition associated with the passed ApplicationKey
provided it is defined. A value of Option.none() is returned if the passed
ApplicationKey is undefined.key - the ID to check.ApplicationRoleDefinitions.ApplicationRoleDefinition associated with the passed
ApplicationKey if it is defined or Option.none()
otherwise.boolean isDefined(com.atlassian.application.api.ApplicationKey key)
true if the ApplicationRoleDefinitions.ApplicationRoleDefinition identified by the given ApplicationKey
is defined.key - the key to check.true when the passed ApplicationRoleDefinitions.ApplicationRoleDefinition is defined.@Nonnull Iterable<ApplicationRoleDefinitions.ApplicationRoleDefinition> getLicensed()
ApplicationRoleDefinitions.ApplicationRoleDefinitions.io.atlassian.fugue.Option<ApplicationRoleDefinitions.ApplicationRoleDefinition> getLicensed(com.atlassian.application.api.ApplicationKey key)
ApplicationRoleDefinitions.ApplicationRoleDefinition associated with the passed ApplicationKey
provided it has a license (irrespective of the license state whether it has expired or it user limit has been
exceeded). A value of Option.none() is returned if the passed ApplicationKey
does not have a license.key - the ID to check.ApplicationRoleDefinitions.ApplicationRoleDefinition associated with the passed
ApplicationKey if it has a license or Option.none()
otherwise.boolean isLicensed(com.atlassian.application.api.ApplicationKey key)
true if the ApplicationRoleDefinitions.ApplicationRoleDefinition identified by the given ApplicationKey
is licensed.key - the key to check.true when the passed ApplicationRoleDefinitions.ApplicationRoleDefinition is licensed.Copyright © 2002-2021 Atlassian. All Rights Reserved.