net.sf.freecol.server.ai
Enum ColonyProfile.ProfileType

java.lang.Object
  extended by java.lang.Enum<ColonyProfile.ProfileType>
      extended by net.sf.freecol.server.ai.ColonyProfile.ProfileType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ColonyProfile.ProfileType>
Enclosing class:
ColonyProfile

public static enum ColonyProfile.ProfileType
extends java.lang.Enum<ColonyProfile.ProfileType>


Enum Constant Summary
CAPITAL
           
LARGE
           
MEDIUM
           
OUTPOST
           
SMALL
           
 
Method Summary
static ColonyProfile.ProfileType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ColonyProfile.ProfileType[] 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

OUTPOST

public static final ColonyProfile.ProfileType OUTPOST

SMALL

public static final ColonyProfile.ProfileType SMALL

MEDIUM

public static final ColonyProfile.ProfileType MEDIUM

LARGE

public static final ColonyProfile.ProfileType LARGE

CAPITAL

public static final ColonyProfile.ProfileType CAPITAL
Method Detail

values

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

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

valueOf

public static ColonyProfile.ProfileType 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