public static enum JESTCommand.Format extends Enum<JESTCommand.Format>
Modifier and Type | Method and Description |
---|---|
static JESTCommand.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JESTCommand.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JESTCommand.Format xml
public static final JESTCommand.Format json
public static JESTCommand.Format[] values()
for (JESTCommand.Format c : JESTCommand.Format.values()) System.out.println(c);
public static JESTCommand.Format 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 nullCopyright © 2006–2022 Apache Software Foundation. All rights reserved.