public enum ConfigurationSource extends Enum<ConfigurationSource>
Enum Constant and Description |
---|
ANNOTATION |
API |
XML |
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
Returns this sources priority.
|
static ConfigurationSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationSource ANNOTATION
public static final ConfigurationSource XML
public static final ConfigurationSource API
public static ConfigurationSource[] values()
for (ConfigurationSource c : ConfigurationSource.values()) System.out.println(c);
public static ConfigurationSource valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic int getPriority()
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved