public static enum Constants.Provider extends Enum<Constants.Provider>
| Modifier and Type | Field and Description |
|---|---|
int |
id |
| Modifier and Type | Method and Description |
|---|---|
static Constants.Provider |
getById(int id) |
static Constants.Provider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.Provider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.Provider AWS
public static final Constants.Provider GCE
public static Constants.Provider[] values()
for (Constants.Provider c : Constants.Provider.values()) System.out.println(c);
public static Constants.Provider 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 Constants.Provider getById(int id)
Copyright © 2015. All rights reserved.