Enum StreamAck.Status
- java.lang.Object
-
- java.lang.Enum<StreamAck.Status>
-
- org.eclipse.ditto.services.utils.akka.streaming.StreamAck.Status
-
- All Implemented Interfaces:
Serializable,Comparable<StreamAck.Status>
- Enclosing class:
- StreamAck
public static enum StreamAck.Status extends Enum<StreamAck.Status>
Status of ACKs.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StreamAck.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static StreamAck.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final StreamAck.Status SUCCESS
Success status.
-
FAILURE
public static final StreamAck.Status FAILURE
Failure status.
-
UNKNOWN
public static final StreamAck.Status UNKNOWN
Status that can be used if status of ack is unknown.
-
-
Method Detail
-
values
public static StreamAck.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StreamAck.Status c : StreamAck.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamAck.Status valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-