public class CustomAppServerHandler extends Object implements AppServerHandler
| Constructor and Description |
|---|
CustomAppServerHandler(String from,
String deploymentDir,
String command,
String user,
List<String> ports) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
exposedPorts()
A list of ports which are exposed by the base image
|
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.
|
public boolean isApplicable()
AppServerHandlerisApplicable in interface AppServerHandlerpublic String getName()
AppServerHandlergetName in interface AppServerHandlerpublic String getFrom()
AppServerHandlergetFrom 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 AppServerHandlerCopyright © 2019. All rights reserved.