com.cedarsoft.codegen
Enum GeneratorConfiguration.CreationMode
java.lang.Object
java.lang.Enum<GeneratorConfiguration.CreationMode>
com.cedarsoft.codegen.GeneratorConfiguration.CreationMode
- All Implemented Interfaces:
- Serializable, Comparable<GeneratorConfiguration.CreationMode>
- Enclosing class:
- GeneratorConfiguration
public static enum GeneratorConfiguration.CreationMode
- extends Enum<GeneratorConfiguration.CreationMode>
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
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.