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 Summary
Enum 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 Summary
All 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
-
UNSUPPORTED
public static final ObjectiveError UNSUPPORTED
The driver processing this objective does not know how to process it.
-
FLOWINSTALLATIONFAILED
public static final ObjectiveError FLOWINSTALLATIONFAILED
The flow installation for this objective failed.
-
GROUPINSTALLATIONFAILED
public static final ObjectiveError GROUPINSTALLATIONFAILED
The group installation for this objective failed.
-
GROUPREMOVALFAILED
public static final ObjectiveError GROUPREMOVALFAILED
The group removal for this objective failed.
-
GROUPMISSING
public static final ObjectiveError GROUPMISSING
The group was reported as installed but is missing.
-
DEVICEMISSING
public static final ObjectiveError DEVICEMISSING
The device was not available to install objectives to.
-
BADPARAMS
public static final ObjectiveError BADPARAMS
Incorrect Objective parameters passed in by the caller.
-
NOPIPELINER
public static final ObjectiveError NOPIPELINER
The device has no pipeline driver to install objectives.
-
UNKNOWN
public static final ObjectiveError UNKNOWN
An unknown error occurred.
-
INSTALLATIONTHRESHOLDEXCEEDED
public static final ObjectiveError INSTALLATIONTHRESHOLDEXCEEDED
Flow/Group installation retry threshold exceeded.
-
INSTALLATIONTIMEOUT
public static final ObjectiveError INSTALLATIONTIMEOUT
Installation timeout.
-
GROUPEXISTS
public static final ObjectiveError GROUPEXISTS
Group already exists.
-
-
Method Detail
-
values
public 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
-
valueOf
public 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 nameNullPointerException- if the argument is null
-
-