public interface AppServerHandler
| Modifier and Type | Method and Description |
|---|---|
default List<String> |
exposedPorts()
A list of ports which are exposed by the base image
|
default String |
getAssemblyName()
The name for the assembly configuration (will also be the name of the directory where
artifacts are placed for Dockerfile COPY).
|
String |
getCommand()
Get the default command to put into the image, which should fit to the
image returned from from()
|
String |
getDeploymentDir()
Get the directory with in the base image where to put the applications
into.
|
default Map<String,String> |
getEnv()
A Map containing environment variables to add to the Image.
|
String |
getFrom()
Get the base image to use for this specific app server
|
String |
getName()
Name of the server that this appserver handler stands for
|
default String |
getUser()
Get the user to use.
|
boolean |
isApplicable()
Return true it the handler thinks it should kick in.
|
default List<String> |
runCmds()
A list of commands to run during image build phase.
|
default boolean |
supportsS2iBuild()
If this handler support S2I source builds.
|
boolean isApplicable()
String getName()
String getFrom()
String getDeploymentDir()
String getCommand()
default String getUser()
default List<String> exposedPorts()
default Map<String,String> getEnv()
default String getAssemblyName()
default List<String> runCmds()
default boolean supportsS2iBuild()
Copyright © 2021. All rights reserved.