public final enum

ProjectAction

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.jira.bc.project.ProjectAction

Class Overview

Represents the different actions a users wants to perform on a project.

Summary

Enum Values
ProjectAction  EDIT_PROJECT_CONFIG  Able to configure the project specific configuration. 
ProjectAction  EDIT_PROJECT_KEY  Able to configure the project specific configuration with the project key. 
ProjectAction  VIEW_ISSUES  Able to view the issues for the passed project. 
ProjectAction  VIEW_PROJECT  The user is able to see the project. 
Public Methods
String getErrorKey()
int[] getPermissions()
boolean hasPermission(PermissionManager manager, ApplicationUser user, Project project)
static ProjectAction valueOf(String name)
final static ProjectAction[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ProjectAction EDIT_PROJECT_CONFIG

Able to configure the project specific configuration.

public static final ProjectAction EDIT_PROJECT_KEY

Able to configure the project specific configuration with the project key.

public static final ProjectAction VIEW_ISSUES

Able to view the issues for the passed project.

public static final ProjectAction VIEW_PROJECT

The user is able to see the project. This does not mean the user can edit the project or even view its issues.

Public Methods

public String getErrorKey ()

public int[] getPermissions ()

public boolean hasPermission (PermissionManager manager, ApplicationUser user, Project project)

public static ProjectAction valueOf (String name)

public static final ProjectAction[] values ()