public abstract class ImportCommand extends BaseCommand
options
Constructor and Description |
---|
ImportCommand(Class<? extends SaxXmlHandler> handler,
Class<? extends ItemImporter> importer) |
Modifier and Type | Method and Description |
---|---|
int |
execWithOptions(com.tinkerpop.frames.FramedGraph<?> graph,
org.apache.commons.cli.CommandLine cmdLine)
Execute this command with the given database and parsed command
line arguments.
|
protected void |
setCustomOptions(org.apache.commons.cli.Options options) |
api, exec, getDetailedHelp, getHelp, getUsage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHelpFooter
public ImportCommand(Class<? extends SaxXmlHandler> handler, Class<? extends ItemImporter> importer)
protected void setCustomOptions(org.apache.commons.cli.Options options)
setCustomOptions
in class BaseCommand
public int execWithOptions(com.tinkerpop.frames.FramedGraph<?> graph, org.apache.commons.cli.CommandLine cmdLine) throws Exception
BaseCommand
execWithOptions
in interface Command
execWithOptions
in class BaseCommand
graph
- the graph databasecmdLine
- the parsed command line objectException
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.