public enum CodeLocation extends Enum<CodeLocation>
Modifier and Type | Method and Description |
---|---|
static CodeLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodeLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeLocation LOCAL
public static final CodeLocation REMOTE
public static CodeLocation[] values()
for (CodeLocation c : CodeLocation.values()) System.out.println(c);
public static CodeLocation 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 nullCopyright © 2016 iNetria. All rights reserved.