public enum SchedulingStatus extends Enum<SchedulingStatus>
Enum Constant and Description |
---|
FAIL_INVALID_TOPOLOGY |
FAIL_NOT_ENOUGH_RESOURCES |
FAIL_OTHER |
SUCCESS |
Modifier and Type | Field and Description |
---|---|
static EnumSet<SchedulingStatus> |
failure |
static EnumSet<SchedulingStatus> |
success |
Modifier and Type | Method and Description |
---|---|
static boolean |
isStatusFailure(SchedulingStatus status) |
static boolean |
isStatusSuccess(SchedulingStatus status) |
static SchedulingStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchedulingStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedulingStatus SUCCESS
public static final SchedulingStatus FAIL_NOT_ENOUGH_RESOURCES
public static final SchedulingStatus FAIL_INVALID_TOPOLOGY
public static final SchedulingStatus FAIL_OTHER
public static EnumSet<SchedulingStatus> success
public static EnumSet<SchedulingStatus> failure
public static SchedulingStatus[] values()
for (SchedulingStatus c : SchedulingStatus.values()) System.out.println(c);
public static SchedulingStatus 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 boolean isStatusSuccess(SchedulingStatus status)
public static boolean isStatusFailure(SchedulingStatus status)
Copyright © 2023 The Apache Software Foundation. All rights reserved.