public abstract class AbstractAppServerHandler extends Object implements AppServerHandler
| Modifier and Type | Field and Description |
|---|---|
protected DefaultImageLookup |
imageLookup |
protected org.apache.maven.project.MavenProject |
project |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAppServerHandler(String name,
org.apache.maven.project.MavenProject project) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Name of the server that this appserver handler stands for
|
protected boolean |
hasOneOf(String... patterns)
Check whether one of the given file patterns can be found
in the project output directory
|
protected String[] |
scanFiles(String... patterns)
Scan the project's output directory for certain files.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexposedPorts, getCommand, getDeploymentDir, getFrom, getUser, isApplicableprotected final DefaultImageLookup imageLookup
protected final org.apache.maven.project.MavenProject project
protected AbstractAppServerHandler(String name, org.apache.maven.project.MavenProject project)
public String getName()
AppServerHandlergetName in interface AppServerHandlerprotected String[] scanFiles(String... patterns)
patterns - one or more patterns which fit to Maven's include syntaxprotected boolean hasOneOf(String... patterns)
patterns - patterns to checkCopyright © 2019. All rights reserved.