Enum NodeMappingPolicy
- java.lang.Object
-
- java.lang.Enum<NodeMappingPolicy>
-
- oracle.dbtools.plugin.api.http.annotations.NodeMappingPolicy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NodeMappingPolicy>
public enum NodeMappingPolicy extends java.lang.Enum<NodeMappingPolicy>
Determine if aDispatchableServlet
is allowed to be bound directly to a node.
ADispatchableServlet
is a candidate to be discovered by theNodeMapper
and be bound directly to a node if:- Does not require a Connection
- Path not inside a schema
- NodeMappingPolicy = ALLOWED
- Author:
- laaguila
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOWED
Node Mapping will be allowed for this resource if the resource is a candidate to be bound directly to a node.NOT_ALLOWED
Node Mapping will not be allowed for this resource if the resource is a candidate to be bound directly to a node.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeMappingPolicy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NodeMappingPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOWED
public static final NodeMappingPolicy ALLOWED
Node Mapping will be allowed for this resource if the resource is a candidate to be bound directly to a node.
-
NOT_ALLOWED
public static final NodeMappingPolicy NOT_ALLOWED
Node Mapping will not be allowed for this resource if the resource is a candidate to be bound directly to a node.
-
-
Method Detail
-
values
public static NodeMappingPolicy[] 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 (NodeMappingPolicy c : NodeMappingPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeMappingPolicy valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-