public class ProjectLayoutBuilder extends java.lang.Object implements ProjectLayout
Helper to build ProjectLayout
ProjectLayout.CustomizedProjectLayout, ProjectLayout.F, ProjectLayout.PredefinedLayout, ProjectLayout.util, ProjectLayout.UtilsPROJ_LAYOUT_FILE| Constructor and Description |
|---|
ProjectLayoutBuilder() |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
asset(java.io.File appBase)
Returns asset folder which contains public accessible files like js/css/img etc in relation to the
appBase specified |
ProjectLayoutBuilder |
asset(java.lang.String asset) |
java.io.File |
conf(java.io.File appBase)
Returns the app configuration location in relation to the
appBase specified. |
ProjectLayoutBuilder |
conf(java.lang.String conf) |
java.io.File |
lib(java.io.File appBase)
Returns lib folder which contains arbitrary jar files in relation to the
appBase specified |
ProjectLayoutBuilder |
lib(java.lang.String lib) |
java.io.File |
resource(java.io.File appBase)
Returns Resource files root in relation to the
appBase specified |
ProjectLayoutBuilder |
resource(java.lang.String rsrc) |
ProjectLayoutBuilder |
routeTable(java.lang.String routeTable) |
java.util.List<java.io.File> |
routeTables(java.io.File appBase)
Returns the routing table file in relation to the
appBase specified |
java.io.File |
source(java.io.File appBase)
Returns Java srccode file root in relation to the
appBase |
ProjectLayoutBuilder |
source(java.lang.String src) |
java.io.File |
target(java.io.File appBase)
Returns the build target folder in relation to the
appBase specified |
ProjectLayoutBuilder |
target(java.lang.String tgt) |
java.io.File |
testLib(java.io.File appBase)
Returns lib folder which contains arbitrary jar files in relation to the
appBase specified in test scope |
ProjectLayoutBuilder |
testLib(java.lang.String s) |
java.io.File |
testResource(java.io.File appBase)
Returns Resource files root in test scope in relation to the
appBase specified |
ProjectLayoutBuilder |
testResource(java.lang.String s) |
java.io.File |
testSource(java.io.File appBase)
Returns Java source code file root in test scope in relation to the
appBase |
ProjectLayoutBuilder |
testSource(java.lang.String s) |
ProjectLayout |
toLayout() |
public ProjectLayoutBuilder source(java.lang.String src)
public ProjectLayoutBuilder testSource(java.lang.String s)
public ProjectLayoutBuilder resource(java.lang.String rsrc)
public ProjectLayoutBuilder testResource(java.lang.String s)
public ProjectLayoutBuilder lib(java.lang.String lib)
public ProjectLayoutBuilder testLib(java.lang.String s)
public ProjectLayoutBuilder asset(java.lang.String asset)
public ProjectLayoutBuilder target(java.lang.String tgt)
public ProjectLayoutBuilder routeTable(java.lang.String routeTable)
public ProjectLayoutBuilder conf(java.lang.String conf)
public java.io.File source(java.io.File appBase)
ProjectLayoutReturns Java srccode file root in relation to the appBase
source in interface ProjectLayoutpublic java.io.File testSource(java.io.File appBase)
ProjectLayoutReturns Java source code file root in test scope in relation to the appBase
testSource in interface ProjectLayoutpublic java.io.File resource(java.io.File appBase)
ProjectLayoutReturns Resource files root in relation to the appBase specified
resource in interface ProjectLayoutpublic java.io.File testResource(java.io.File appBase)
ProjectLayoutReturns Resource files root in test scope in relation to the appBase specified
testResource in interface ProjectLayoutpublic java.io.File lib(java.io.File appBase)
ProjectLayoutReturns lib folder which contains arbitrary jar files in relation to the appBase specified
lib in interface ProjectLayoutpublic java.io.File testLib(java.io.File appBase)
ProjectLayoutReturns lib folder which contains arbitrary jar files in relation to the appBase specified in test scope
testLib in interface ProjectLayoutpublic java.io.File asset(java.io.File appBase)
ProjectLayoutReturns asset folder which contains public accessible files like js/css/img etc in relation to the appBase specified
asset in interface ProjectLayoutpublic java.io.File target(java.io.File appBase)
ProjectLayoutReturns the build target folder in relation to the appBase specified
target in interface ProjectLayoutpublic java.util.List<java.io.File> routeTables(java.io.File appBase)
ProjectLayoutReturns the routing table file in relation to the appBase specified
routeTables in interface ProjectLayoutpublic java.io.File conf(java.io.File appBase)
ProjectLayoutReturns the app configuration location in relation to the appBase specified.
The configuration location could be either a File or a directory that contains a list of properties files or contains sub directories of a list of properties files
conf in interface ProjectLayoutpublic ProjectLayout toLayout()
Copyright © 2014–2017 ActFramework. All rights reserved.