Package net.aifusion.cimserver
Enum CimXHeader
- All Implemented Interfaces:
Serializable
,Comparable<CimXHeader>
,java.lang.constant.Constable
Http CIM Extension Headers known to the server. These extension headers are used to identify parameters for intrinsic operations requested by the client
- Author:
- Sharad Singhal
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionURL for the listenerList of element names being requested in getElementsList of element types being requested in getElementsType of event associated with a listenerFilter query string sent using CimFilterIntrinsic Operation being performed (seeCimHeader
)Flag identifying if subclasses should be searched for getElementsName of the extrinsic method being addressedData type of the return value for an extrinsic methodList of namespaces being requested in getElementsHeader containing the name space pathheader containing the object path of the named elementName of the parameter being addressedName of the property being addressedType of the property being set -
Method Summary
Modifier and TypeMethodDescriptionboolean
Test if this extension header should accompany a givenCimHeader
.static List
<CimXHeader> Get all valid extension headers that should accompany a givenCimHeader
.static CimXHeader
Get the extension header corresponding to a string header valuetoString()
static CimXHeader
Returns the enum constant of this type with the specified name.static CimXHeader[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
INTRINSIC
Intrinsic Operation being performed (seeCimHeader
) -
OBJECT_PATH
header containing the object path of the named element -
NAMESPACE_PATH
Header containing the name space path -
METHOD_NAME
Name of the extrinsic method being addressed -
METHOD_TYPE
Data type of the return value for an extrinsic method -
PROPERTY_NAME
Name of the property being addressed -
PROPERTY_TYPE
Type of the property being set -
PARAMETER_NAME
Name of the parameter being addressed -
ELEMENT_TYPES
List of element types being requested in getElements -
FILTER_STRING
Filter query string sent using CimFilter -
NAME_SPACES
List of namespaces being requested in getElements -
ELEMENT_NAMES
List of element names being requested in getElements -
LOCATE_SUBCLASS
Flag identifying if subclasses should be searched for getElements -
EVENT_TYPE
Type of event associated with a listener -
CIM_URL
URL for the listener
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
appliesTo
Test if this extension header should accompany a givenCimHeader
.- Parameters:
h
- - header to test- Returns:
- - true if this parameter applies to the given header, false otherwise
-
getXHeaders
Get all valid extension headers that should accompany a givenCimHeader
.- Parameters:
h
- - header to test- Returns:
- - parameters appropriate for that header
-
lookup
Get the extension header corresponding to a string header value- Parameters:
value
- - string value for the header (case insensitive)- Returns:
- - corresponding extension header, null if no such header exists
-
toString
- Overrides:
toString
in classEnum<CimXHeader>
-