public static enum DestinationBean.Type extends Enum<DestinationBean.Type>
Enum Constant and Description |
---|
CUSTOM
Custom.
|
EXPORT
Export to XML.
|
MIRROR
Mirror Publishing.
|
REAL_TIME
Real-time Publishing.
|
STATIC
Static Publishing.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Returns the code associated with this enum.
|
String |
getName()
Returns the free-form name for this destination type.
|
void |
setName(String name)
Sets a free-form name to this destination type.
|
static DestinationBean.Type |
toEnum(String code)
Returns an enum object, given the code, or null if there is no such supported code.
|
static DestinationBean.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DestinationBean.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final DestinationBean.Type CUSTOM
public static final DestinationBean.Type EXPORT
public static final DestinationBean.Type MIRROR
public static final DestinationBean.Type REAL_TIME
public static final DestinationBean.Type STATIC
public static DestinationBean.Type[] values()
for (DestinationBean.Type c : DestinationBean.Type.values()) System.out.println(c);
public static DestinationBean.Type 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 getCode()
public static DestinationBean.Type toEnum(String code)
code
- the code to match for, case-sensitive.public void setName(String name)
name
- the free-form name to set.public String getName()