Package org.opennms.web.rest.support
Enum Aliases
- java.lang.Object
-
- java.lang.Enum<Aliases>
-
- org.opennms.web.rest.support.Aliases
-
- All Implemented Interfaces:
Serializable
,Comparable<Aliases>
public enum Aliases extends Enum<Aliases>
This enum contains well-known aliases for search terms that should be reused by different RESTv2 services for consistency.- Author:
- Seth
-
-
Enum Constant Summary
Enum Constants Enum Constant Description alarm
assetRecord
category
distPoller
event
eventParameter
ipInterface
location
memo
monitoredService
node
notification
outage
reductionKeyMemo
serviceType
snmpInterface
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
prop(String propertyName)
static Aliases
valueOf(String name)
Returns the enum constant of this type with the specified name.static Aliases[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
alarm
public static final Aliases alarm
-
assetRecord
public static final Aliases assetRecord
-
category
public static final Aliases category
-
distPoller
public static final Aliases distPoller
-
event
public static final Aliases event
-
eventParameter
public static final Aliases eventParameter
-
ipInterface
public static final Aliases ipInterface
-
location
public static final Aliases location
-
memo
public static final Aliases memo
-
monitoredService
public static final Aliases monitoredService
-
node
public static final Aliases node
-
notification
public static final Aliases notification
-
outage
public static final Aliases outage
-
reductionKeyMemo
public static final Aliases reductionKeyMemo
-
serviceType
public static final Aliases serviceType
-
snmpInterface
public static final Aliases snmpInterface
-
-
Method Detail
-
values
public static Aliases[] 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 (Aliases c : Aliases.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Aliases 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
-
-