@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()
PermissionHolderType
getKey
in interface PermissionHolderType
public boolean requiresParameter()
PermissionHolderType
requiresParameter
in interface PermissionHolderType
Copyright © 2002-2019 Atlassian. All Rights Reserved.