public enum ConfigurationType extends java.lang.Enum<ConfigurationType>
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<? extends Configuration> |
configurationClass |
private java.lang.String |
prefix |
Modifier and Type | Method and Description |
---|---|
static <T extends Configuration> |
forClass(java.lang.Class<T> configurationClass) |
java.lang.String |
getPrefix() |
static ConfigurationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationType Mockito
public static final ConfigurationType PowerMock
private final java.lang.String prefix
private final java.lang.Class<? extends Configuration> configurationClass
public static ConfigurationType[] values()
for (ConfigurationType c : ConfigurationType.values()) System.out.println(c);
public static ConfigurationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getPrefix()
public static <T extends Configuration> ConfigurationType forClass(java.lang.Class<T> configurationClass)