Enum ConsoleConfigProperties.ConfigurationType
- java.lang.Object
-
- java.lang.Enum<ConsoleConfigProperties.ConfigurationType>
-
- pl.allegro.tech.hermes.management.config.console.ConsoleConfigProperties.ConfigurationType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ConsoleConfigProperties.ConfigurationType>
- Enclosing class:
- ConsoleConfigProperties
public static enum ConsoleConfigProperties.ConfigurationType extends java.lang.Enum<ConsoleConfigProperties.ConfigurationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASSPATH_RESOURCEHTTP_RESOURCESPRING_CONFIG
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConsoleConfigProperties.ConfigurationTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ConsoleConfigProperties.ConfigurationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLASSPATH_RESOURCE
public static final ConsoleConfigProperties.ConfigurationType CLASSPATH_RESOURCE
-
HTTP_RESOURCE
public static final ConsoleConfigProperties.ConfigurationType HTTP_RESOURCE
-
SPRING_CONFIG
public static final ConsoleConfigProperties.ConfigurationType SPRING_CONFIG
-
-
Method Detail
-
values
public static ConsoleConfigProperties.ConfigurationType[] 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 (ConsoleConfigProperties.ConfigurationType c : ConsoleConfigProperties.ConfigurationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConsoleConfigProperties.ConfigurationType 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 namejava.lang.NullPointerException- if the argument is null
-
-