public static enum PublisherVO.Type extends java.lang.Enum<PublisherVO.Type>
| Enum Constant and Description |
|---|
HTTP_SENDER |
PACHUBE |
PERSISTENT |
| Modifier and Type | Field and Description |
|---|---|
private int |
id |
private java.lang.String |
key |
| Modifier and Type | Method and Description |
|---|---|
abstract PublisherVO<?> |
createPublisherVO() |
int |
getId() |
java.lang.String |
getKey() |
static java.util.List<java.lang.String> |
getTypeList() |
static PublisherVO.Type |
valueOf(int id) |
static PublisherVO.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PublisherVO.Type |
valueOfIgnoreCase(java.lang.String text) |
static PublisherVO.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublisherVO.Type HTTP_SENDER
public static final PublisherVO.Type PACHUBE
public static final PublisherVO.Type PERSISTENT
public static PublisherVO.Type[] values()
for (PublisherVO.Type c : PublisherVO.Type.values()) System.out.println(c);
public static PublisherVO.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getId()
public java.lang.String getKey()
public abstract PublisherVO<?> createPublisherVO()
public static PublisherVO.Type valueOf(int id)
public static PublisherVO.Type valueOfIgnoreCase(java.lang.String text)
public static java.util.List<java.lang.String> getTypeList()