com.atlassian.jira.security
Class JiraPermission

java.lang.Object
  extended bycom.atlassian.jira.security.JiraPermission

public class JiraPermission
extends java.lang.Object

Immutable class to represent a permission


Constructor Summary
JiraPermission(int type)
           
JiraPermission(int type, java.lang.Long scheme, java.lang.String group, java.lang.String permType)
           
JiraPermission(int type, java.lang.String group, java.lang.String permType)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getGroup()
           
 java.lang.String getPermType()
           
 java.lang.Long getScheme()
           
 int getType()
           
 int hashCode()
           
 void setPermType(java.lang.String permType)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JiraPermission

public JiraPermission(int type)

JiraPermission

public JiraPermission(int type,
                      java.lang.String group,
                      java.lang.String permType)

JiraPermission

public JiraPermission(int type,
                      java.lang.Long scheme,
                      java.lang.String group,
                      java.lang.String permType)
Method Detail

getType

public int getType()

getScheme

public java.lang.Long getScheme()

getGroup

public java.lang.String getGroup()

getPermType

public java.lang.String getPermType()

setPermType

public void setPermType(java.lang.String permType)

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

toString

public java.lang.String toString()