public static enum ConditionalOnWebApplication.Type extends Enum<ConditionalOnWebApplication.Type>
Enum Constant and Description |
---|
ANY
Any web application will match.
|
REACTIVE
Only reactive-based web application will match.
|
SERVLET
Only servlet-based web application will match.
|
Modifier and Type | Method and Description |
---|---|
static ConditionalOnWebApplication.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConditionalOnWebApplication.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConditionalOnWebApplication.Type ANY
public static final ConditionalOnWebApplication.Type SERVLET
public static final ConditionalOnWebApplication.Type REACTIVE
public static ConditionalOnWebApplication.Type[] values()
for (ConditionalOnWebApplication.Type c : ConditionalOnWebApplication.Type.values()) System.out.println(c);
public static ConditionalOnWebApplication.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null