public class Options extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CHAIN_PATH
(String) Selected path value for the reader and writer
|
static String |
CONFIGURATION_FILE_FORMAT
(String) File extension of the walkmod configuration
|
static String |
DYNAMIC_ARGS
(Map) Extra arguments for the executed components
|
static String |
EXCLUDES
(List<String>) Overwrites the exclude rules in the chain's reader
|
static String |
EXECUTION_DIRECTORY
(File) Sets an execution directory.
|
static String |
INCLUDES
(List<String>) Overwrites the include rules in the chain's reader
|
static String |
OFFLINE
(Boolean) Disables/enables remote fetching of plugins
|
static String |
PRINT_ERRORS
(Boolean) Disables/enables error messages in the console
|
static String |
THROW_EXCEPTION
(Boolean) Disables/enables the capture of original exceptions (requires
verbose = true)
|
static String |
VERBOSE
(Boolean) Disables/enables info messages in the console
|
| Constructor and Description |
|---|
Options()
Creates an empty set of options
|
Options(Map<String,Object> options)
Creates a set of options with initialized values
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
asMap()
Returns the stored options as a Map<String,Object>
|
String |
getConfigurationFormat() |
Map<String,Object> |
getDynamicArgs() |
List<String> |
getExcludes() |
File |
getExecutionDirectory() |
List<String> |
getIncludes() |
String |
getPath() |
boolean |
isOffline() |
boolean |
isPrintErrors() |
boolean |
isThrowException() |
boolean |
isVerbose() |
void |
setConfigurationFormat(String format) |
void |
setDynamicArgs(Map<String,Object> dynamicArgs) |
void |
setExcludes(String... excludes) |
void |
setExecutionDirectory(File executionDirectory) |
void |
setIncludes(String... includes) |
void |
setOffline(boolean offline) |
void |
setPath(String path) |
void |
setPrintErrors(boolean printErrors) |
void |
setThrowException(boolean throwException) |
void |
setVerbose(boolean verbose) |
public static final String OFFLINE
public static final String VERBOSE
public static final String PRINT_ERRORS
public static final String THROW_EXCEPTION
public static final String INCLUDES
public static final String EXCLUDES
public static final String EXECUTION_DIRECTORY
public static final String CONFIGURATION_FILE_FORMAT
public static final String DYNAMIC_ARGS
public static final String CHAIN_PATH
public void setConfigurationFormat(String format)
public String getConfigurationFormat()
public void setOffline(boolean offline)
public boolean isOffline()
public String getPath()
public void setPath(String path)
public void setVerbose(boolean verbose)
public boolean isVerbose()
public void setPrintErrors(boolean printErrors)
public void setExecutionDirectory(File executionDirectory)
public File getExecutionDirectory()
public boolean isPrintErrors()
public void setThrowException(boolean throwException)
public boolean isThrowException()
public void setIncludes(String... includes)
public void setExcludes(String... excludes)
Copyright © 2017. All rights reserved.