public class WalkModFacade extends Object
| Constructor and Description |
|---|
WalkModFacade()
Default facade constructor.
|
WalkModFacade(boolean offline,
boolean verbose,
boolean printError)
Facade constructor using the walkmod.xml configuration file.
|
WalkModFacade(File cfg,
boolean offline,
boolean verbose,
boolean printError)
Facade constructor
|
WalkModFacade(String cfg,
boolean offline,
boolean verbose,
boolean printError) |
| Modifier and Type | Method and Description |
|---|---|
List<File> |
apply(String... chains)
Applies a list of transformation chains.
|
List<File> |
check(String... chains)
Applies a list of transformation chains without updating the source
files.
|
void |
install()
Downloads the list of declared plugins in the configuration file using
Ivy.
|
public WalkModFacade(File cfg, boolean offline, boolean verbose, boolean printError)
cfg - configuration file.offline - if the missing plugins are downloaded.verbose - if log messages are printed in the System.outprintError - if the exception stack trace is printed in the System.outpublic WalkModFacade(String cfg, boolean offline, boolean verbose, boolean printError)
public WalkModFacade(boolean offline,
boolean verbose,
boolean printError)
offline - if the missing plugins are downloaded.verbose - if log messages are printed in the System.outprintError - if the exception trace is printed in the System.outpublic WalkModFacade()
public List<File> apply(String... chains) throws InvalidConfigurationException
chains - the list of applied transformation chains.InvalidConfigurationException - if the walkmod configuration is invalid and it is working in
no verbose mode.public List<File> check(String... chains) throws InvalidConfigurationException
chains - the list of applied transformation chains.InvalidConfigurationException - if the walkmod configuration is invalid and it is working in
no verbose mode.public void install()
throws InvalidConfigurationException
InvalidConfigurationException - if the walkmod configuration is invalid and it is working in
no verbose mode.Copyright © 2015. All rights reserved.