Package cloud.piranha.dist.coreprofile
Class CoreProfilePiranhaBuilder
java.lang.Object
cloud.piranha.dist.coreprofile.CoreProfilePiranhaBuilder
The Builder for Piranha Core Profile.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the Piranha instance.contextPath
(String contextPath) Set the context path.exitOnStop
(boolean exitOnStop) Set the exit on stop flag.extensionClass
(Class<? extends WebApplicationExtension> extensionClass) Set the extension class.extensionClass
(String extensionClassName) Set the extension class.httpPort
(int httpPort) Set the HTTP server port.httpServerClass
(String httpServerClass) Set the HTTP server class.httpsPort
(int httpsPort) Set the HTTPS server port.httpsServerClass
(String httpsServerClass) Set the HTTPS server class.jpms
(boolean jpms) Enable/disable JPMS.Set the PID.sslKeystoreFile
(String sslKeystoreFile) Set the SSL keystore file.sslKeystorePassword
(String sslKeystorePassword) Set the SSL keystore password.verbose
(boolean verbose) Set the verbose flag.Set the WAR file.Set the web application directory.
-
Constructor Details
-
CoreProfilePiranhaBuilder
public CoreProfilePiranhaBuilder()
-
-
Method Details
-
build
Build the Piranha instance.- Returns:
- the Piranha instance.
-
contextPath
Set the context path.- Parameters:
contextPath
- the context path.- Returns:
- the builder.
-
exitOnStop
Set the exit on stop flag.- Parameters:
exitOnStop
- the exit on stop flag.- Returns:
- the builder.
-
extensionClass
public CoreProfilePiranhaBuilder extensionClass(Class<? extends WebApplicationExtension> extensionClass) Set the extension class.- Parameters:
extensionClass
- the extension class.- Returns:
- the builder.
-
extensionClass
Set the extension class.- Parameters:
extensionClassName
- the default extension class name.- Returns:
- the builder.
-
httpPort
Set the HTTP server port.- Parameters:
httpPort
- the HTTP server port.- Returns:
- the builder.
-
httpServerClass
Set the HTTP server class.- Parameters:
httpServerClass
- the HTTP server class.- Returns:
- the builder.
-
httpsPort
Set the HTTPS server port.- Parameters:
httpsPort
- the HTTPS server port.- Returns:
- the builder.
-
httpsServerClass
Set the HTTPS server class.- Parameters:
httpsServerClass
- the HTTPS server class.- Returns:
- the builder.
-
jpms
Enable/disable JPMS.- Parameters:
jpms
- the JPMS flag.- Returns:
- the builder.
-
sslKeystoreFile
Set the SSL keystore file.- Parameters:
sslKeystoreFile
- the SSL keystore file.- Returns:
- the builder.
-
sslKeystorePassword
Set the SSL keystore password.- Parameters:
sslKeystorePassword
- the SSL keystore password.- Returns:
- the builder.
-
verbose
Set the verbose flag.- Parameters:
verbose
- the verbose flag.- Returns:
- the builder.
-
warFile
Set the WAR file.- Parameters:
warFile
- the WAR file.- Returns:
- the builder.
-
webAppDir
Set the web application directory.- Parameters:
webAppDir
- the web application directory.- Returns:
- the builder.
-
pid
Set the PID.- Parameters:
pid
- the PID.- Returns:
- the builder.
-