java.io.Serializable, java.lang.Comparable<RejectionReason>@Public @Unstable public enum RejectionReason extends java.lang.Enum<RejectionReason>
| Enum Constant | Description |
|---|---|
COULD_NOT_PLACE_ON_NODE |
This is used to indicate a possible constraint violation.
|
COULD_NOT_SCHEDULE_ON_NODE |
This is used to indicate when after the Algorithm has placed a Scheduling
Request at a node, but the commit failed because the Queue has no
capacity etc.
|
| Modifier and Type | Method | Description |
|---|---|---|
static RejectionReason |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static RejectionReason[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RejectionReason COULD_NOT_PLACE_ON_NODE
public static final RejectionReason COULD_NOT_SCHEDULE_ON_NODE
public static RejectionReason[] values()
for (RejectionReason c : RejectionReason.values()) System.out.println(c);
public static RejectionReason valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.