public abstract class FileSystemLayout extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CUSTOM_LAYOUT_CLASS
System property for overriding the layout class that should be initialized.
|
static String |
MAVEN_CMD_LINE_ARGS |
protected Path |
rootPath |
protected static String |
TYPE_JAR |
protected static String |
TYPE_WAR |
| Modifier | Constructor and Description |
|---|---|
protected |
FileSystemLayout(String path)
Constructs a new instance of
FileSystemLayout which is rooted at the given path. |
| Modifier and Type | Method and Description |
|---|---|
static String |
archiveNameForClassesDir(Path path) |
static FileSystemLayout |
create()
Derived form 'user.dir'
|
static FileSystemLayout |
create(String root)
Derived from explicit path
|
abstract String |
determinePackagingType() |
abstract Path |
getRootPath() |
abstract Path |
resolveBuildClassesDir() |
abstract Path |
resolveBuildResourcesDir() |
static String |
resolveMavenBuildFileName() |
abstract Path |
resolveSrcWebAppDir() |
public static final String CUSTOM_LAYOUT_CLASS
public static final String MAVEN_CMD_LINE_ARGS
protected static final String TYPE_JAR
protected static final String TYPE_WAR
protected final Path rootPath
protected FileSystemLayout(String path)
FileSystemLayout which is rooted at the given path.path - the root path for the layout.public abstract String determinePackagingType()
public abstract Path resolveBuildClassesDir()
public abstract Path resolveBuildResourcesDir()
public abstract Path resolveSrcWebAppDir()
public static FileSystemLayout create()
public static FileSystemLayout create(String root)
root - the fs entry pointpublic static String resolveMavenBuildFileName()
public abstract Path getRootPath()
Copyright © 2019 JBoss by Red Hat. All rights reserved.