public class ScriptLauncher extends Object
| Modifier and Type | Method and Description |
|---|---|
protected static org.jdom.Document |
getConfig()
Load the launcher configuration file
|
static org.jdom.Document |
getConfig(DSpaceKernelImpl kernelImpl) |
static void |
main(String[] args)
Execute the DSpace script launcher
|
protected static int |
runOneCommand(org.jdom.Document commandConfigs,
String[] args) |
static int |
runOneCommand(org.jdom.Document commandConfigs,
String[] args,
DSpaceKernelImpl kernelImpl)
Recognize and execute a single command.
|
public static void main(String[] args) throws FileNotFoundException, IOException
args - Any parameters required to be passed to the scripts it executesIOException - if IO errorFileNotFoundException - if file doesn't existprotected static int runOneCommand(org.jdom.Document commandConfigs,
String[] args)
public static int runOneCommand(org.jdom.Document commandConfigs,
String[] args,
DSpaceKernelImpl kernelImpl)
commandConfigs - Documentargs - the command line arguments givenprotected static org.jdom.Document getConfig()
public static org.jdom.Document getConfig(DSpaceKernelImpl kernelImpl)
Copyright © 2019 DuraSpace. All rights reserved.