| Modifier and Type | Field and Description |
|---|---|
| public static final ConfigurationSource | ANNOTATION
The source of configuration are annotation in the source code |
| public static final ConfigurationSource | API
The source of configuration is the programmatic API |
| private int | |
| public static final ConfigurationSource | XML
The source of configuration is XML configuration |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public static ConfigurationSource | Returns: The source with the higher priority. Will be sourcea if
both have the same priority.A configuration source. a, ConfigurationSource Another configuration source. b)Returns that configuration source from the given two sources, which has the higher priority. |
| public static ConfigurationSource | |
| public static ConfigurationSource[] |
| ANNOTATION | back to summary |
|---|---|
| public static final ConfigurationSource ANNOTATION The source of configuration are annotation in the source code | |
| API | back to summary |
|---|---|
| public static final ConfigurationSource API The source of configuration is the programmatic API | |
| priority | back to summary |
|---|---|
| private int priority | |
| XML | back to summary |
|---|---|
| public static final ConfigurationSource XML The source of configuration is XML configuration | |
| ConfigurationSource | back to summary |
|---|---|
| private ConfigurationSource(int priority) | |
| getPriority | back to summary |
|---|---|
| public int getPriority() Returns this sources priority. Can be used to determine which configuration shall apply in case of conflicting configurations by several providers.
| |
| max | back to summary |
|---|---|
| public static ConfigurationSource max(ConfigurationSource a, ConfigurationSource b) Returns that configuration source from the given two sources, which has the higher priority.
| |
| valueOf | back to summary |
|---|---|
| public static ConfigurationSource valueOf(String name) | |
| values | back to summary |
|---|---|
| public static ConfigurationSource[] values() | |