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