public static enum Program.SourceType extends Enum<Program.SourceType>
Enum Constant and Description |
---|
BLOCK |
LOCAL |
NETWORK |
NONE
No data was provided; valid and acceptable
|
SYNDICATED |
UNKNOWN
An unknown value was provided; provide the value in a bug ticket for future inclusion
|
Modifier and Type | Method and Description |
---|---|
static Program.SourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Program.SourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Program.SourceType NONE
public static final Program.SourceType LOCAL
public static final Program.SourceType SYNDICATED
public static final Program.SourceType NETWORK
public static final Program.SourceType BLOCK
public static final Program.SourceType UNKNOWN
public static Program.SourceType[] values()
for (Program.SourceType c : Program.SourceType.values()) System.out.println(c);
public static Program.SourceType 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 © 2012–2014 Battams, Derek. All rights reserved.