@InterfaceAudience.Public @InterfaceStability.Unstable public enum RejectionReason extends Enum<RejectionReason>
| Enum Constant and Description | 
|---|
| COULD_NOT_PLACE_ON_NODEThis is used to indicate a possible constraint violation. | 
| COULD_NOT_SCHEDULE_ON_NODEThis 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 and Description | 
|---|---|
| static RejectionReason | valueOf(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(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 nullCopyright © 2025 Apache Software Foundation. All rights reserved.