public class BaseBuilder
extends java.lang.Object
${jetty.base}
, including
ini files, directories, and libs. Also handles License management.Modifier and Type | Class and Description |
---|---|
static interface |
BaseBuilder.Config |
Modifier and Type | Field and Description |
---|---|
private BaseHome |
baseHome |
private static java.lang.String |
EXITING_LICENSE_NOT_ACKNOWLEDGED |
private java.util.List<FileInitializer> |
fileInitializers |
private StartArgs |
startArgs |
Constructor and Description |
---|
BaseBuilder(BaseHome baseHome,
StartArgs args) |
Modifier and Type | Method and Description |
---|---|
boolean |
build()
Build out the Base directory (if needed)
|
BaseHome |
getBaseHome() |
StartArgs |
getStartArgs() |
private boolean |
processFileResource(FileArg arg)
Process a specific file resource
|
private boolean |
processFileResources(java.util.List<FileArg> files)
Process the
FileArg for startup, assume that all licenses have
been acknowledged at this stage. |
private static final java.lang.String EXITING_LICENSE_NOT_ACKNOWLEDGED
private final BaseHome baseHome
private final java.util.List<FileInitializer> fileInitializers
private final StartArgs startArgs
public boolean build() throws java.io.IOException
java.io.IOException
- if unable to buildpublic BaseHome getBaseHome()
public StartArgs getStartArgs()
private boolean processFileResource(FileArg arg) throws java.io.IOException
arg
- the fileArg to work withjava.io.IOException
- if there was an issue in processing this fileprivate boolean processFileResources(java.util.List<FileArg> files) throws java.io.IOException
FileArg
for startup, assume that all licenses have
been acknowledged at this stage.files
- the list of FileArg
s to processjava.io.IOException