Enum Class NodeMappingPolicy

java.lang.Object
java.lang.Enum<NodeMappingPolicy>
oracle.dbtools.plugin.api.http.annotations.NodeMappingPolicy
All Implemented Interfaces:
Serializable, Comparable<NodeMappingPolicy>, Constable

public enum NodeMappingPolicy extends Enum<NodeMappingPolicy>
Determine if a DispatchableServlet is allowed to be bound directly to a node.
A DispatchableServlet is a candidate to be discovered by the NodeMapper and be bound directly to a node if:
  • Does not require a Connection
  • Path not inside a schema
  • NodeMappingPolicy = ALLOWED
Author:
laaguila
  • Enum Constant Details

    • 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 Details

    • values

      public static NodeMappingPolicy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static NodeMappingPolicy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null