public enum Environments extends Enum<Environments>
| Modifier and Type | Method and Description |
|---|---|
static Properties |
getProperties(String environments)
Combine the base properties with the environment properties specified by the parameter if found.
|
static Environments |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Environments[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Environments[] values()
for (Environments c : Environments.values()) System.out.println(c);
public static Environments 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 static Properties getProperties(String environments) throws javax.resource.ResourceException
environments - Single or comma separated list of environment properties to loadjavax.resource.ResourceExceptionCopyright © 2014-2015 Tomitribe Corporation. All Rights Reserved.