public static enum RemoteMonitoringService.DetectorTask extends Enum<RemoteMonitoringService.DetectorTask>
Enum Constant and Description |
---|
COMPLETED
The task is completed successfully
|
NOT_COMPLETED
The task is completed with an exception
|
SKIPPED
Skipped task
|
Modifier and Type | Method and Description |
---|---|
static RemoteMonitoringService.DetectorTask |
fromBool(boolean taskResult) |
static RemoteMonitoringService.DetectorTask |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RemoteMonitoringService.DetectorTask[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemoteMonitoringService.DetectorTask COMPLETED
public static final RemoteMonitoringService.DetectorTask NOT_COMPLETED
public static final RemoteMonitoringService.DetectorTask SKIPPED
public static RemoteMonitoringService.DetectorTask[] values()
for (RemoteMonitoringService.DetectorTask c : RemoteMonitoringService.DetectorTask.values()) System.out.println(c);
public static RemoteMonitoringService.DetectorTask 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 static RemoteMonitoringService.DetectorTask fromBool(boolean taskResult)
Copyright © 2019 CorfuDB. All rights reserved.