public class BuildFileProbe extends ProjectLayoutProbe
Common implementation of ProjectLayoutProbe
by inspecting a certain application build file, e.g. pom.xml for maven based application
Modifier and Type | Class and Description |
---|---|
static interface |
BuildFileProbe.BuildFileNameProvider |
static class |
BuildFileProbe.FileParser |
static class |
BuildFileProbe.LinesParser |
static class |
BuildFileProbe.StringParser |
Plugin.InfoRepo
PLUGIN_FILTER
Constructor and Description |
---|
BuildFileProbe(BuildFileProbe.FileParser fp) |
BuildFileProbe(BuildFileProbe.LinesParser lp) |
BuildFileProbe(BuildFileProbe.StringParser sp) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildFileName() |
ProjectLayout |
probe(java.io.File appBase)
Check if the given folder contains an application with certain layout
|
register
public BuildFileProbe(BuildFileProbe.FileParser fp)
public BuildFileProbe(BuildFileProbe.StringParser sp)
public BuildFileProbe(BuildFileProbe.LinesParser lp)
public java.lang.String buildFileName()
public ProjectLayout probe(java.io.File appBase)
ProjectLayoutProbe
Check if the given folder contains an application with certain layout
probe
in class ProjectLayoutProbe
appBase
- the folder supposed to be an application’s baseProjectLayout
of the app base or null
if can’t figure out the project layoutCopyright © 2014–2017 ActFramework. All rights reserved.