public enum TemplateStatus extends Enum<TemplateStatus>
This class is a Enum class
| Enum Constant and Description |
|---|
PROCESSING |
UNVALID |
VALID |
| Modifier and Type | Method and Description |
|---|---|
String |
getDesc() |
String |
getValue() |
void |
setDesc(String desc) |
void |
setValue(String value) |
static TemplateStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemplateStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateStatus PROCESSING
public static final TemplateStatus VALID
public static final TemplateStatus UNVALID
public static TemplateStatus[] values()
for (TemplateStatus c : TemplateStatus.values()) System.out.println(c);
public static TemplateStatus 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 getValue()
public void setValue(String value)
public String getDesc()
public void setDesc(String desc)
Copyright © 2020. All rights reserved.