public enum TaskStatus extends Enum<TaskStatus> implements com.google.protobuf.ProtocolMessageEnum
Defines status values for a scheduled taskProtobuf enum
io.axoniq.axonserver.grpc.TaskStatus| Enum Constant and Description |
|---|
CANCELLED
Task execution is in progress
|
COMPLETED
Task execution completed successfully
|
FAILED
Task execution failed with non transient exception
|
RUNNING
Task execution is in progress
|
SCHEDULED
Task is scheduled for execution
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCELLED_VALUE
Task execution is in progress
|
static int |
COMPLETED_VALUE
Task execution completed successfully
|
static int |
FAILED_VALUE
Task execution failed with non transient exception
|
static int |
RUNNING_VALUE
Task execution is in progress
|
static int |
SCHEDULED_VALUE
Task is scheduled for execution
|
| Modifier and Type | Method and Description |
|---|---|
static TaskStatus |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<TaskStatus> |
internalGetValueMap() |
static TaskStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TaskStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TaskStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskStatus SCHEDULED
Task is scheduled for execution
SCHEDULED = 0;public static final TaskStatus COMPLETED
Task execution completed successfully
COMPLETED = 1;public static final TaskStatus FAILED
Task execution failed with non transient exception
FAILED = 2;public static final TaskStatus RUNNING
Task execution is in progress
RUNNING = 3;public static final TaskStatus CANCELLED
Task execution is in progress
CANCELLED = 4;public static final TaskStatus UNRECOGNIZED
public static final int SCHEDULED_VALUE
Task is scheduled for execution
SCHEDULED = 0;public static final int COMPLETED_VALUE
Task execution completed successfully
COMPLETED = 1;public static final int FAILED_VALUE
Task execution failed with non transient exception
FAILED = 2;public static final int RUNNING_VALUE
Task execution is in progress
RUNNING = 3;public static final int CANCELLED_VALUE
Task execution is in progress
CANCELLED = 4;public static TaskStatus[] values()
for (TaskStatus c : TaskStatus.values()) System.out.println(c);
public static TaskStatus 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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static TaskStatus valueOf(int value)
forNumber(int) instead.public static TaskStatus forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<TaskStatus> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static TaskStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020–2023 AxonIQ BV. All rights reserved.