public class InputData extends 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.
|
EventDAO |
getEventDAO() |
StaticDataSource |
getSource() |
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.
@Nullable public EventDAO getEventDAO() throws IOException
IOException
@Nonnull public LenskitConfiguration getConfiguration()
public static void configureArguments(net.sourceforge.argparse4j.inf.ArgumentParser parser)
public static void configureArguments(net.sourceforge.argparse4j.inf.ArgumentParser parser, boolean required)