public class InputData
extends java.lang.Object
Helper class for managing input data.
Constructor and Description |
---|
InputData(ScriptEnvironment env,
net.sourceforge.argparse4j.inf.Namespace opts) |
Modifier and Type | Method and Description |
---|---|
static void |
configureArguments(net.sourceforge.argparse4j.inf.ArgumentParser parser) |
static void |
configureArguments(net.sourceforge.argparse4j.inf.ArgumentParser parser,
boolean required) |
LenskitConfiguration |
getConfiguration() |
DataAccessObject |
getDAO()
Get the data access object from the input data.
|
StaticDataSource |
getSource() |
java.lang.String |
toString() |
public InputData(ScriptEnvironment env, net.sourceforge.argparse4j.inf.Namespace opts)
@Nullable public StaticDataSource getSource()
@Nullable public DataAccessObject getDAO()
Get the data access object from the input data.
@Nonnull public LenskitConfiguration getConfiguration()
public java.lang.String toString()
toString
in class java.lang.Object
public static void configureArguments(net.sourceforge.argparse4j.inf.ArgumentParser parser)
public static void configureArguments(net.sourceforge.argparse4j.inf.ArgumentParser parser, boolean required)