Enum SourceType
- java.lang.Object
-
- java.lang.Enum<SourceType>
-
- de.gematik.test.tiger.common.config.SourceType
-
- All Implemented Interfaces:
Serializable,Comparable<SourceType>
public enum SourceType extends Enum<SourceType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENVPROPERTIESRUNTIME_EXPORTTEST_CONTEXTTEST_YAMLTHREAD_CONTEXTYAML
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPrecedence()static SourceTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SourceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
YAML
public static final SourceType YAML
-
TEST_YAML
public static final SourceType TEST_YAML
-
ENV
public static final SourceType ENV
-
PROPERTIES
public static final SourceType PROPERTIES
-
CLI
public static final SourceType CLI
-
RUNTIME_EXPORT
public static final SourceType RUNTIME_EXPORT
-
TEST_CONTEXT
public static final SourceType TEST_CONTEXT
-
THREAD_CONTEXT
public static final SourceType THREAD_CONTEXT
-
-
Method Detail
-
values
public static SourceType[] 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 (SourceType c : SourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SourceType 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 nameNullPointerException- if the argument is null
-
getPrecedence
public int getPrecedence()
-
-