public enum DispatchCategory extends Enum<DispatchCategory>
| Modifier and Type | Class and Description |
|---|---|
static class |
DispatchCategory.Adapter
Converts a String to a DispatchCategory, and vice versa.
|
| Modifier and Type | Method and Description |
|---|---|
static DispatchCategory |
fromString(String stringValue)
Returns the DispatchCategory represented by the supplied string.
|
String |
toString() |
static DispatchCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DispatchCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DispatchCategory FACTBOOK
public static final DispatchCategory BULLETIN
public static final DispatchCategory ACCOUNT
public static final DispatchCategory META
public static DispatchCategory[] values()
for (DispatchCategory c : DispatchCategory.values()) System.out.println(c);
public static DispatchCategory 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 String toString()
toString in class Enum<DispatchCategory>public static DispatchCategory fromString(String stringValue)
stringValue - the supplied string.Copyright © 2017. All rights reserved.