@Immutable public final class

CustomPermissionHolderType

extends Object
implements PermissionHolderType
java.lang.Object
   ↳ com.atlassian.jira.permission.data.CustomPermissionHolderType

Class Overview

This is a value class that implements the 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.

Summary

Public Methods
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()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.permission.PermissionHolderType

Public Methods

public boolean equals (Object o)

public String getKey ()

Returns a key that will be stored in the database and identify this holder type.

public int hashCode ()

public static PermissionHolderType permissionHolderType (String key, String parameter)

public boolean requiresParameter ()

True if this type requires an additional parameter, false otherwise.

public String toString ()