Package org.opennms.upgrade.api
Enum AbstractOnmsUpgrade.VersionOperator
- java.lang.Object
-
- java.lang.Enum<AbstractOnmsUpgrade.VersionOperator>
-
- org.opennms.upgrade.api.AbstractOnmsUpgrade.VersionOperator
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractOnmsUpgrade.VersionOperator>
- Enclosing class:
- AbstractOnmsUpgrade
public static enum AbstractOnmsUpgrade.VersionOperator extends Enum<AbstractOnmsUpgrade.VersionOperator>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractOnmsUpgrade.VersionOperator
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractOnmsUpgrade.VersionOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LT
public static final AbstractOnmsUpgrade.VersionOperator LT
-
LE
public static final AbstractOnmsUpgrade.VersionOperator LE
-
EQ
public static final AbstractOnmsUpgrade.VersionOperator EQ
-
GE
public static final AbstractOnmsUpgrade.VersionOperator GE
-
GT
public static final AbstractOnmsUpgrade.VersionOperator GT
-
-
Method Detail
-
values
public static AbstractOnmsUpgrade.VersionOperator[] 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 (AbstractOnmsUpgrade.VersionOperator c : AbstractOnmsUpgrade.VersionOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractOnmsUpgrade.VersionOperator 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
-
-