mmp.engine
Enum Settings.CompatibilityLevel

java.lang.Object
  extended by java.lang.Enum<Settings.CompatibilityLevel>
      extended by mmp.engine.Settings.CompatibilityLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Settings.CompatibilityLevel>
Enclosing class:
Settings

public static enum Settings.CompatibilityLevel
extends java.lang.Enum<Settings.CompatibilityLevel>

Levels of compatibility of builtin macros (MMP > GNU > POSIX).


Enum Constant Summary
GNU
          Extended m4 as provided by GNU
MMP
          Embeddable m4 in Java by MNI
POSIX
          Classical m4 as specified by POSIX
 
Method Summary
static Settings.CompatibilityLevel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Settings.CompatibilityLevel[] 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

GNU

public static final Settings.CompatibilityLevel GNU
Extended m4 as provided by GNU


MMP

public static final Settings.CompatibilityLevel MMP
Embeddable m4 in Java by MNI


POSIX

public static final Settings.CompatibilityLevel POSIX
Classical m4 as specified by POSIX

Method Detail

valueOf

public static Settings.CompatibilityLevel 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

values

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

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