com.amoebaman.kitmaster.enums
Enum PermsResult

java.lang.Object
  extended by java.lang.Enum<PermsResult>
      extended by com.amoebaman.kitmaster.enums.PermsResult
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PermsResult>

public enum PermsResult
extends java.lang.Enum<PermsResult>


Enum Constant Summary
ALL
          Selection of the kit is allowed.
COMMAND_ONLY
          Only command selection is allowed.
INHERIT_ALL
          Selection of the kit is allowed, but only because of a parent's permissions.
INHERIT_COMMAND_ONLY
          Only command selection is allowed, but only because of a parent's permissions.
INHERIT_NONE
          Selection of the kit is not allowed, but only because of a parent's permissions.
INHERIT_SIGN_ONLY
          Only sign selection is allowed, but only because of a parent's permissions.
NONE
          Selection of the kit is not allowed.
NULL_KIT
          The kit does not exist, so permissions could not be evaluated.
SIGN_ONLY
          Only sign selection is allowed.
 
Field Summary
 GenericResult generic
          The simplified result that corresponds to this.
 java.lang.String message
          The message that corresponds to this.
 
Method Summary
static PermsResult valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PermsResult[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALL

public static final PermsResult ALL
Selection of the kit is allowed.


SIGN_ONLY

public static final PermsResult SIGN_ONLY
Only sign selection is allowed.


COMMAND_ONLY

public static final PermsResult COMMAND_ONLY
Only command selection is allowed.


NONE

public static final PermsResult NONE
Selection of the kit is not allowed.


INHERIT_ALL

public static final PermsResult INHERIT_ALL
Selection of the kit is allowed, but only because of a parent's permissions.


INHERIT_SIGN_ONLY

public static final PermsResult INHERIT_SIGN_ONLY
Only sign selection is allowed, but only because of a parent's permissions.


INHERIT_COMMAND_ONLY

public static final PermsResult INHERIT_COMMAND_ONLY
Only command selection is allowed, but only because of a parent's permissions.


INHERIT_NONE

public static final PermsResult INHERIT_NONE
Selection of the kit is not allowed, but only because of a parent's permissions.


NULL_KIT

public static final PermsResult NULL_KIT
The kit does not exist, so permissions could not be evaluated.

Field Detail

generic

public GenericResult generic
The simplified result that corresponds to this.


message

public java.lang.String message
The message that corresponds to this.

Method Detail

values

public static PermsResult[] 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 (PermsResult c : PermsResult.values())
    System.out.println(c);

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

valueOf

public static PermsResult valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null