@Immutable public final class CustomPermissionHolderType extends Object implements PermissionHolderType
PermissionHolderType interface.
Normally we want to use standard set of holder types as defined
in JiraPermissionHolderType
but the types are actually somewhat extensible, so this is needed.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getKey()
Returns a key that will be stored in the database and identify this holder type.
|
int |
hashCode() |
static PermissionHolderType |
permissionHolderType(String key,
String parameter) |
boolean |
requiresParameter()
True if this type requires an additional parameter, false otherwise.
|
String |
toString() |
public static PermissionHolderType permissionHolderType(@Nonnull String key, @Nullable String parameter)
public String getKey()
PermissionHolderTypegetKey in interface PermissionHolderTypepublic boolean requiresParameter()
PermissionHolderTyperequiresParameter in interface PermissionHolderTypeCopyright © 2002-2016 Atlassian. All Rights Reserved.