com.atlassian.jira.issue.vote
Enum VotedIssuesAccessor.Security

java.lang.Object
  extended by java.lang.Enum<VotedIssuesAccessor.Security>
      extended by com.atlassian.jira.issue.vote.VotedIssuesAccessor.Security
All Implemented Interfaces:
Serializable, Comparable<VotedIssuesAccessor.Security>
Enclosing interface:
VotedIssuesAccessor

public static enum VotedIssuesAccessor.Security
extends Enum<VotedIssuesAccessor.Security>


Enum Constant Summary
OVERRIDE
          return all issues the user
RESPECT
          Only return issue ids the user can see.
 
Method Summary
static VotedIssuesAccessor.Security valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VotedIssuesAccessor.Security[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RESPECT

public static final VotedIssuesAccessor.Security RESPECT
Only return issue ids the user can see.


OVERRIDE

public static final VotedIssuesAccessor.Security OVERRIDE
return all issues the user

Method Detail

values

public static VotedIssuesAccessor.Security[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (VotedIssuesAccessor.Security c : VotedIssuesAccessor.Security.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static VotedIssuesAccessor.Security valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2002-2014 Atlassian. All Rights Reserved.