Enum ObjectiveError
- java.lang.Object
- 
- java.lang.Enum<ObjectiveError>
- 
- org.onosproject.net.flowobjective.ObjectiveError
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<ObjectiveError>
 
 @Beta public enum ObjectiveError extends Enum<ObjectiveError> Represents the set of errors possible when processing an objective.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description BADPARAMSIncorrect Objective parameters passed in by the caller.DEVICEMISSINGThe device was not available to install objectives to.FLOWINSTALLATIONFAILEDThe flow installation for this objective failed.GROUPEXISTSGroup already exists.GROUPINSTALLATIONFAILEDThe group installation for this objective failed.GROUPMISSINGThe group was reported as installed but is missing.GROUPREMOVALFAILEDThe group removal for this objective failed.INSTALLATIONTHRESHOLDEXCEEDEDFlow/Group installation retry threshold exceeded.INSTALLATIONTIMEOUTInstallation timeout.NOPIPELINERThe device has no pipeline driver to install objectives.UNKNOWNAn unknown error occurred.UNSUPPORTEDThe driver processing this objective does not know how to process it.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static ObjectiveErrorvalueOf(String name)Returns the enum constant of this type with the specified name.static ObjectiveError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
UNSUPPORTEDpublic static final ObjectiveError UNSUPPORTED The driver processing this objective does not know how to process it.
 - 
FLOWINSTALLATIONFAILEDpublic static final ObjectiveError FLOWINSTALLATIONFAILED The flow installation for this objective failed.
 - 
GROUPINSTALLATIONFAILEDpublic static final ObjectiveError GROUPINSTALLATIONFAILED The group installation for this objective failed.
 - 
GROUPREMOVALFAILEDpublic static final ObjectiveError GROUPREMOVALFAILED The group removal for this objective failed.
 - 
GROUPMISSINGpublic static final ObjectiveError GROUPMISSING The group was reported as installed but is missing.
 - 
DEVICEMISSINGpublic static final ObjectiveError DEVICEMISSING The device was not available to install objectives to.
 - 
BADPARAMSpublic static final ObjectiveError BADPARAMS Incorrect Objective parameters passed in by the caller.
 - 
NOPIPELINERpublic static final ObjectiveError NOPIPELINER The device has no pipeline driver to install objectives.
 - 
UNKNOWNpublic static final ObjectiveError UNKNOWN An unknown error occurred.
 - 
INSTALLATIONTHRESHOLDEXCEEDEDpublic static final ObjectiveError INSTALLATIONTHRESHOLDEXCEEDED Flow/Group installation retry threshold exceeded.
 - 
INSTALLATIONTIMEOUTpublic static final ObjectiveError INSTALLATIONTIMEOUT Installation timeout.
 - 
GROUPEXISTSpublic static final ObjectiveError GROUPEXISTS Group already exists.
 
- 
 - 
Method Detail- 
valuespublic static ObjectiveError[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ObjectiveError c : ObjectiveError.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static ObjectiveError valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-