Enum FunctionalSchemaPolicy
- java.lang.Object
-
- java.lang.Enum<FunctionalSchemaPolicy>
-
- oracle.dbtools.plugin.api.http.annotations.FunctionalSchemaPolicy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FunctionalSchemaPolicy>
public enum FunctionalSchemaPolicy extends java.lang.Enum<FunctionalSchemaPolicy>
Defines whether or not the annotated Servlet should be available for the APEX REST-Enabled functional schema (/r) Only Servlets annotated with ELIGIBLE will return return a score other than CANNOT_DISPATCH if /r is in the request url i.e. /r/soda should not be served by the /soda Servlet.- Author:
- geragome
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ELIGIBLE
Servlet/Resource will be eligible to dispatch requests mapped to the functional schema.NOT_ELIGIBLE
Servlet/Resource will not be eligible to dispatch requests mapped to the functional schema.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FunctionalSchemaPolicy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FunctionalSchemaPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ELIGIBLE
public static final FunctionalSchemaPolicy ELIGIBLE
Servlet/Resource will be eligible to dispatch requests mapped to the functional schema.
-
NOT_ELIGIBLE
public static final FunctionalSchemaPolicy NOT_ELIGIBLE
Servlet/Resource will not be eligible to dispatch requests mapped to the functional schema.
-
-
Method Detail
-
values
public static FunctionalSchemaPolicy[] 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 (FunctionalSchemaPolicy c : FunctionalSchemaPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FunctionalSchemaPolicy 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
-
-