public enum PublishEnum extends java.lang.Enum<PublishEnum> implements IKeyLabel
Enum Constant and Description |
---|
InheritFromParent |
NotPublish |
Publish |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey() |
java.lang.String |
getLabel() |
java.lang.String |
toString() |
static PublishEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PublishEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublishEnum Publish
public static final PublishEnum NotPublish
public static final PublishEnum InheritFromParent
public static PublishEnum[] values()
for (PublishEnum c : PublishEnum.values()) System.out.println(c);
public static PublishEnum 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 java.lang.String toString()
toString
in class java.lang.Enum<PublishEnum>
Copyright © 2007-2020 EDIT. All Rights Reserved.