Package org.springdoc.data.rest.core
Enum ControllerType
- java.lang.Object
-
- java.lang.Enum<ControllerType>
-
- org.springdoc.data.rest.core.ControllerType
-
- All Implemented Interfaces:
Serializable,Comparable<ControllerType>
public enum ControllerType extends Enum<ControllerType>
The enum Controller type.- Author:
- bnasslahsen
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ControllerTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ControllerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENTITY
public static final ControllerType ENTITY
Entity controller type.
-
SEARCH
public static final ControllerType SEARCH
Search controller type.
-
SCHEMA
public static final ControllerType SCHEMA
Schema controller type.
-
PROPERTY
public static final ControllerType PROPERTY
PROPERTY controller type.
-
GENERAL
public static final ControllerType GENERAL
GENERAL controller type.
-
-
Method Detail
-
values
public static ControllerType[] 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 (ControllerType c : ControllerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ControllerType 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
-
-