Package org.obolibrary.robot
Class CommandState
- java.lang.Object
-
- org.obolibrary.robot.CommandState
-
public class CommandState extends Object
A simple state container for communicating between Commands.- Author:
- James A. Overton
-
-
Constructor Summary
Constructors Constructor Description CommandState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCatalogPath()
Get the catalog path.org.semanticweb.owlapi.model.OWLOntology
getOntology()
Get the ontology (not a copy).String
getOntologyPath()
Get the ontology path.void
setCatalogPath(String catalogPath)
Set the catalog path.void
setOntology(org.semanticweb.owlapi.model.OWLOntology ontology)
Set the ontology.void
setOntologyPath(String ontologyPath)
Set the ontology path.
-
-
-
Method Detail
-
getCatalogPath
public String getCatalogPath()
Get the catalog path.- Returns:
- the catalog path
-
getOntology
public org.semanticweb.owlapi.model.OWLOntology getOntology()
Get the ontology (not a copy).- Returns:
- the ontology
-
getOntologyPath
public String getOntologyPath()
Get the ontology path.- Returns:
- the ontology path
-
setCatalogPath
public void setCatalogPath(String catalogPath)
Set the catalog path.- Parameters:
catalogPath
- the catalog to use
-
setOntology
public void setOntology(org.semanticweb.owlapi.model.OWLOntology ontology)
Set the ontology.- Parameters:
ontology
- the ontology to store
-
setOntologyPath
public void setOntologyPath(String ontologyPath)
Set the ontology path.- Parameters:
ontologyPath
- the path to the ontology
-
-