public enum WebApplicationType extends Enum<WebApplicationType>
| Enum Constant and Description | 
|---|
| NONEThe application should not run as a web application and should not start an
 embedded web server. | 
| REACTIVEThe application should run as a reactive web application and should start an
 embedded reactive web server. | 
| SERVLETThe application should run as a servlet-based web application and should start an
 embedded servlet web server. | 
| Modifier and Type | Method and Description | 
|---|---|
| static WebApplicationType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static WebApplicationType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final WebApplicationType NONE
public static final WebApplicationType SERVLET
public static final WebApplicationType REACTIVE
public static WebApplicationType[] values()
for (WebApplicationType c : WebApplicationType.values()) System.out.println(c);
public static WebApplicationType 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 nullCopyright © 2020 Pivotal Software, Inc.. All rights reserved.