public static enum IRabitTracker.TrackerStatus extends Enum<IRabitTracker.TrackerStatus>
Enum Constant and Description |
---|
FAILURE |
INTERRUPTED |
SUCCESS |
TIMEOUT |
Modifier and Type | Method and Description |
---|---|
int |
getStatusCode() |
static IRabitTracker.TrackerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IRabitTracker.TrackerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IRabitTracker.TrackerStatus SUCCESS
public static final IRabitTracker.TrackerStatus INTERRUPTED
public static final IRabitTracker.TrackerStatus TIMEOUT
public static final IRabitTracker.TrackerStatus FAILURE
public static IRabitTracker.TrackerStatus[] values()
for (IRabitTracker.TrackerStatus c : IRabitTracker.TrackerStatus.values()) System.out.println(c);
public static IRabitTracker.TrackerStatus 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 int getStatusCode()
Copyright © 2018. All rights reserved.