public class ScriptEnvironment extends Object
Class managing environments for running various scripts and classes. Used by commands to configure and handle their classpath and property arguments.
Constructor and Description |
---|
ScriptEnvironment(net.sourceforge.argparse4j.inf.Namespace ns) |
Modifier and Type | Method and Description |
---|---|
static void |
configureArguments(net.sourceforge.argparse4j.inf.ArgumentParser parser) |
ClassLoader |
getClassLoader()
Get the class loader for this script environment.
|
List<String> |
getClasspath()
Get the classpath.
|
Properties |
getProperties()
Get the properties defined by the command line.
|
List<LenskitConfiguration> |
loadConfigurations(List<File> files) |
public ScriptEnvironment(net.sourceforge.argparse4j.inf.Namespace ns)
public static void configureArguments(net.sourceforge.argparse4j.inf.ArgumentParser parser)
public Properties getProperties()
Get the properties defined by the command line.
public ClassLoader getClassLoader()
Get the class loader for this script environment.
public List<LenskitConfiguration> loadConfigurations(List<File> files) throws IOException, RecommenderConfigurationException