com.cedarsoft.codegen
Enum GeneratorConfiguration.CreationMode

java.lang.Object
  extended by java.lang.Enum<GeneratorConfiguration.CreationMode>
      extended by com.cedarsoft.codegen.GeneratorConfiguration.CreationMode
All Implemented Interfaces:
Serializable, Comparable<GeneratorConfiguration.CreationMode>
Enclosing class:
GeneratorConfiguration

public static enum GeneratorConfiguration.CreationMode
extends Enum<GeneratorConfiguration.CreationMode>


Enum Constant Summary
ALL
           
NO_TESTS
           
TESTS_ONLY
           
 
Method Summary
static GeneratorConfiguration.CreationMode get(boolean create, boolean tests)
           
 boolean isCreate()
           
 boolean isCreateTests()
           
static GeneratorConfiguration.CreationMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GeneratorConfiguration.CreationMode[] 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

ALL

public static final GeneratorConfiguration.CreationMode ALL

NO_TESTS

public static final GeneratorConfiguration.CreationMode NO_TESTS

TESTS_ONLY

public static final GeneratorConfiguration.CreationMode TESTS_ONLY
Method Detail

values

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

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

valueOf

public static GeneratorConfiguration.CreationMode 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

isCreateTests

public boolean isCreateTests()

isCreate

public boolean isCreate()

get

public static GeneratorConfiguration.CreationMode get(boolean create,
                                                      boolean tests)


Copyright © 2010 cedarsoft GmbH. All Rights Reserved.