Uses of Class
org.obolibrary.robot.CommandState
-
-
Uses of CommandState in org.obolibrary.robot
Methods in org.obolibrary.robot that return CommandState Modifier and Type Method Description CommandStateAnnotateCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, add or remove ontology annotations and return the modified state.CommandStateCollapseCommand. execute(CommandState state, String[] args)CommandStateCommand. execute(CommandState inputState, String[] args)All commands offer an execute method that can be chained from previous commands.CommandStateCommandManager. execute(CommandState state, String[] args)Given an input state and command-line arguments, execute one or more commands.CommandStateConvertCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, save the ontology to a new format and return the state unchanged.CommandStateDiffCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, report on the differences between ontologies, if any, and return the state unchanged.CommandStateExpandCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, expand macro relations, and add axioms to the input ontology, returning a state with the updated ontology.CommandStateExplainCommand. execute(CommandState state, String[] args)CommandStateExportCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, build a new ontology from the given template, and return a state with the new ontology.CommandStateExportPrefixesCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, export the current prefixes and return the state unchanged.CommandStateExtractCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, extract a new ontology and return an new state.CommandStateFilterCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, filter axioms from its ontology, modifying it, and return a state with the modified ontology.CommandStateMaterializeCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, run a reasoner, and add axioms to the input ontology, returning a state with the updated ontology.CommandStateMeasureCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, compute metrics in ontology.CommandStateMergeCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, merge all ontology axioms into the first ontology and return a state with the merged ontology.CommandStateMirrorCommand. execute(CommandState state, String[] args)Mirrors the input ontologgy and its imports closure.CommandStatePythonCommand. execute(CommandState state, String[] args)Runs ROBOT accessible via Python.CommandStateQueryCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, query the ontolgy.CommandStateReasonCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, run a reasoner, and add axioms to the input ontology, returning a state with the updated ontology.CommandStateReduceCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, run a reasoner, and add axioms to the input ontology, returning a state with the updated ontology.CommandStateRelaxCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, run a reasoner, and add axioms to the input ontology, returning a state with the updated ontology.CommandStateRemoveCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, create a new ontology with removed axioms and return a new state.CommandStateRenameCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, rename the entity IRIs in the ontology.CommandStateRepairCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, repair a new ontology and return an new state.CommandStateReportCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, report a new ontology and return an new state.CommandStateTemplateCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, build a new ontology from the given template, and return a state with the new ontology.CommandStateUnmergeCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, unmerge all ontology axioms into the first ontology and return a state with the unmerged ontology.CommandStateValidateProfileCommand. execute(CommandState state, String[] args)CommandStateVerifyCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, verify that the SPARQL queries return no results.CommandStateCommandManager. executeCommand(CommandState state, List<String> globalOptionArgs, List<String> arguments)Given an input state, global option strings, and remaining command-line argument strings, use as many arguments as needed to execute a single command.static CommandStateCommandLineHelper. updateInputOntology(IOHelper ioHelper, CommandState state, org.apache.commons.cli.CommandLine line)Given an IOHelper, a state object, and a command line, update the state with the ontology.static CommandStateCommandLineHelper. updateInputOntology(IOHelper ioHelper, CommandState state, org.apache.commons.cli.CommandLine line, boolean required)Given an IOHelper, a state object, a command line, and a "required" flag, update the state with the ontology.Methods in org.obolibrary.robot with parameters of type CommandState Modifier and Type Method Description CommandStateAnnotateCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, add or remove ontology annotations and return the modified state.CommandStateCollapseCommand. execute(CommandState state, String[] args)CommandStateCommand. execute(CommandState inputState, String[] args)All commands offer an execute method that can be chained from previous commands.CommandStateCommandManager. execute(CommandState state, String[] args)Given an input state and command-line arguments, execute one or more commands.CommandStateConvertCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, save the ontology to a new format and return the state unchanged.CommandStateDiffCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, report on the differences between ontologies, if any, and return the state unchanged.CommandStateExpandCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, expand macro relations, and add axioms to the input ontology, returning a state with the updated ontology.CommandStateExplainCommand. execute(CommandState state, String[] args)CommandStateExportCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, build a new ontology from the given template, and return a state with the new ontology.CommandStateExportPrefixesCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, export the current prefixes and return the state unchanged.CommandStateExtractCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, extract a new ontology and return an new state.CommandStateFilterCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, filter axioms from its ontology, modifying it, and return a state with the modified ontology.CommandStateMaterializeCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, run a reasoner, and add axioms to the input ontology, returning a state with the updated ontology.CommandStateMeasureCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, compute metrics in ontology.CommandStateMergeCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, merge all ontology axioms into the first ontology and return a state with the merged ontology.CommandStateMirrorCommand. execute(CommandState state, String[] args)Mirrors the input ontologgy and its imports closure.CommandStatePythonCommand. execute(CommandState state, String[] args)Runs ROBOT accessible via Python.CommandStateQueryCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, query the ontolgy.CommandStateReasonCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, run a reasoner, and add axioms to the input ontology, returning a state with the updated ontology.CommandStateReduceCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, run a reasoner, and add axioms to the input ontology, returning a state with the updated ontology.CommandStateRelaxCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, run a reasoner, and add axioms to the input ontology, returning a state with the updated ontology.CommandStateRemoveCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, create a new ontology with removed axioms and return a new state.CommandStateRenameCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, rename the entity IRIs in the ontology.CommandStateRepairCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, repair a new ontology and return an new state.CommandStateReportCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, report a new ontology and return an new state.CommandStateTemplateCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, build a new ontology from the given template, and return a state with the new ontology.CommandStateUnmergeCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, unmerge all ontology axioms into the first ontology and return a state with the unmerged ontology.CommandStateValidateProfileCommand. execute(CommandState state, String[] args)CommandStateVerifyCommand. execute(CommandState state, String[] args)Given an input state and command line arguments, verify that the SPARQL queries return no results.CommandStateCommandManager. executeCommand(CommandState state, List<String> globalOptionArgs, List<String> arguments)Given an input state, global option strings, and remaining command-line argument strings, use as many arguments as needed to execute a single command.static CommandStateCommandLineHelper. updateInputOntology(IOHelper ioHelper, CommandState state, org.apache.commons.cli.CommandLine line)Given an IOHelper, a state object, and a command line, update the state with the ontology.static CommandStateCommandLineHelper. updateInputOntology(IOHelper ioHelper, CommandState state, org.apache.commons.cli.CommandLine line, boolean required)Given an IOHelper, a state object, a command line, and a "required" flag, update the state with the ontology.
-