Package org.incenp.obofoundry.odk
Class ExtractOrcidCommand
java.lang.Object
org.incenp.obofoundry.odk.BasePlugin
org.incenp.obofoundry.odk.ExtractOrcidCommand
- All Implemented Interfaces:
org.obolibrary.robot.Command
A command to extract ORCIDIO individuals referenced within an ontology.
Given an input ontology, this command looks for annotations that reference ORCID identifiers, then create an output ontology containing the named individuals from ORCIDIO that represent the referenced persons.
-
Field Summary
Fields inherited from class org.incenp.obofoundry.odk.BasePlugin
ioHelper, optionsFields inherited from interface org.obolibrary.robot.Command
global, missingFileError -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidperformOperation(org.obolibrary.robot.CommandState state, org.apache.commons.cli.CommandLine line) Performs whatever operation the command is supposed to do.Methods inherited from class org.incenp.obofoundry.odk.BasePlugin
execute, getDescription, getIRI, getName, getOptions, getUsage, main
-
Constructor Details
-
ExtractOrcidCommand
public ExtractOrcidCommand()
-
-
Method Details
-
performOperation
public void performOperation(org.obolibrary.robot.CommandState state, org.apache.commons.cli.CommandLine line) throws Exception Description copied from class:BasePluginPerforms whatever operation the command is supposed to do.- Specified by:
performOperationin classBasePlugin- Parameters:
state- The internal state of ROBOT.line- The command line used to invoke the command.- Throws:
Exception- If any error occurs when attempting to execute the operation.
-