public static enum Rudder.Result.Status extends Enum<Rudder.Result.Status> implements ProtocolMessageEnum
hapi.services.rudder.Result.Status
Enum Constant and Description |
---|
ERROR
Operation failed
|
SUCCESS
Operation was successful
|
UNCHANGED
Operation had no results (e.g.
|
UNKNOWN
No status set
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_VALUE
Operation failed
|
static int |
SUCCESS_VALUE
Operation was successful
|
static int |
UNCHANGED_VALUE
Operation had no results (e.g.
|
static int |
UNKNOWN_VALUE
No status set
|
Modifier and Type | Method and Description |
---|---|
static Rudder.Result.Status |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Rudder.Result.Status> |
internalGetValueMap() |
static Rudder.Result.Status |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Rudder.Result.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Rudder.Result.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rudder.Result.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rudder.Result.Status UNKNOWN
No status set
UNKNOWN = 0;
public static final Rudder.Result.Status SUCCESS
Operation was successful
SUCCESS = 1;
public static final Rudder.Result.Status UNCHANGED
Operation had no results (e.g. upgrade identical, rollback to same, delete non-existent)
UNCHANGED = 2;
public static final Rudder.Result.Status ERROR
Operation failed
ERROR = 3;
public static final Rudder.Result.Status UNRECOGNIZED
public static final int UNKNOWN_VALUE
No status set
UNKNOWN = 0;
public static final int SUCCESS_VALUE
Operation was successful
SUCCESS = 1;
public static final int UNCHANGED_VALUE
Operation had no results (e.g. upgrade identical, rollback to same, delete non-existent)
UNCHANGED = 2;
public static final int ERROR_VALUE
Operation failed
ERROR = 3;
public static Rudder.Result.Status[] values()
for (Rudder.Result.Status c : Rudder.Result.Status.values()) System.out.println(c);
public static Rudder.Result.Status 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 final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Rudder.Result.Status valueOf(int value)
forNumber(int)
instead.public static Rudder.Result.Status forNumber(int value)
public static Internal.EnumLiteMap<Rudder.Result.Status> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Rudder.Result.Status valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2017–2018, microBean. All rights reserved.