@AutoService(value=Command.class) public class Graph extends java.lang.Object implements Command
Command that draws a diagram of a recommender configuration.
Constructor and Description |
---|
Graph() |
Modifier and Type | Method and Description |
---|---|
void |
configureArguments(net.sourceforge.argparse4j.inf.ArgumentParser parser)
Configure the argument parser for this command.
|
void |
execute(net.sourceforge.argparse4j.inf.Namespace opts)
Execute the command.
|
java.lang.String |
getHelp()
Get the command’s help.
|
java.lang.String |
getName()
Get the name of the command.
|
public java.lang.String getName()
Command
Get the name of the command.
public java.lang.String getHelp()
Command
Get the command’s help.
public void execute(net.sourceforge.argparse4j.inf.Namespace opts) throws LenskitCommandException
Command
Execute the command.
execute
in interface Command
opts
- The command-line options.LenskitCommandException
public void configureArguments(net.sourceforge.argparse4j.inf.ArgumentParser parser)
Command
Configure the argument parser for this command.
configureArguments
in interface Command
parser
- The argument parser into which the arguments should be configured. This will already be a subparser, the command is not responsible for creating that.