com.planet_ink.coffee_mud.core
Enum CMSecurity.SaveFlag

java.lang.Object
  extended by java.lang.Enum<CMSecurity.SaveFlag>
      extended by com.planet_ink.coffee_mud.core.CMSecurity.SaveFlag
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CMSecurity.SaveFlag>
Enclosing class:
CMSecurity

public static enum CMSecurity.SaveFlag
extends java.lang.Enum<CMSecurity.SaveFlag>

Save flags enum, for either turning off things that are normally saved to the database periodically, or turning on things that are not normally saved so that they do so.


Enum Constant Summary
NOPLAYERS
           
NOPROPERTYITEMS
           
NOPROPERTYMOBS
           
ROOMITEMS
           
ROOMMOBS
           
ROOMSHOPS
           
 
Method Summary
static CMSecurity.SaveFlag valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CMSecurity.SaveFlag[] 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

NOPLAYERS

public static final CMSecurity.SaveFlag NOPLAYERS

NOPROPERTYMOBS

public static final CMSecurity.SaveFlag NOPROPERTYMOBS

NOPROPERTYITEMS

public static final CMSecurity.SaveFlag NOPROPERTYITEMS

ROOMMOBS

public static final CMSecurity.SaveFlag ROOMMOBS

ROOMSHOPS

public static final CMSecurity.SaveFlag ROOMSHOPS

ROOMITEMS

public static final CMSecurity.SaveFlag ROOMITEMS
Method Detail

values

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

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

valueOf

public static CMSecurity.SaveFlag 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