public enum CustomOperationShowForm extends java.lang.Enum<CustomOperationShowForm> implements HasMessageKey
| Enum Constant and Description |
|---|
ALWAYS
Always show the parameters form
|
MISSING_ANY
Show form only if any parameter (optional or required) is missing
|
MISSING_REQUIRED
Show form only if required parameters are missing
|
| Modifier and Type | Method and Description |
|---|---|
MessageKey |
getMessageKey() |
boolean |
showForm(boolean hasMissingRequired,
boolean hasMissingOptional) |
static CustomOperationShowForm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CustomOperationShowForm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomOperationShowForm MISSING_REQUIRED
public static final CustomOperationShowForm MISSING_ANY
public static final CustomOperationShowForm ALWAYS
public static CustomOperationShowForm[] values()
for (CustomOperationShowForm c : CustomOperationShowForm.values()) System.out.println(c);
public static CustomOperationShowForm 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 MessageKey getMessageKey()
getMessageKey in interface HasMessageKeypublic boolean showForm(boolean hasMissingRequired,
boolean hasMissingOptional)