public class CustomAppServerHandler extends Object implements AppServerHandler
| Constructor and Description |
|---|
CustomAppServerHandler(String from,
String deploymentDir,
String command,
String user,
List<String> ports,
boolean supportsS2iBuild) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
exposedPorts()
A list of ports which are exposed by the base image
|
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.
|
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
|
String |
getUser()
Get the user to use.
|
boolean |
isApplicable()
Return true it the handler thinks it should kick in.
|
boolean |
supportsS2iBuild()
If this handler support S2I source builds.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEnv, runCmdspublic boolean isApplicable()
AppServerHandlerisApplicable in interface AppServerHandlerpublic String getName()
AppServerHandlergetName in interface AppServerHandlerpublic String getFrom()
AppServerHandlergetFrom in interface AppServerHandlerpublic String getAssemblyName()
AppServerHandlergetAssemblyName in interface AppServerHandlerpublic String getDeploymentDir()
AppServerHandlergetDeploymentDir in interface AppServerHandlerpublic String getCommand()
AppServerHandlergetCommand in interface AppServerHandlerpublic String getUser()
AppServerHandlergetUser in interface AppServerHandlerpublic List<String> exposedPorts()
AppServerHandlerexposedPorts in interface AppServerHandlerpublic boolean supportsS2iBuild()
AppServerHandlersupportsS2iBuild in interface AppServerHandlerCopyright © 2021. All rights reserved.