org.semanticweb.HermiT.debugger.commands
Class AbstractCommand
java.lang.Object
org.semanticweb.HermiT.debugger.commands.AbstractCommand
- All Implemented Interfaces:
- ICommand
- Direct Known Subclasses:
- ActiveNodesCommand, BreakpointTimeCommand, ClearCommand, ContinueCommand, DerivationTreeCommand, DiffLabelsCommand, DummyCommand, ExitCommand, ForeverCommand, HelpCommand, HistoryCommand, IsAncestorOfCommand, NodesForCommand, OriginStatsCommand, QueryCommand, ReuseNodeForCommand, SearchLabelCommand, SearchPairwiseBlockingCommand, ShowDescriptionGraphCommand, ShowDLClausesCommand, ShowExistsCommand, ShowModelCommand, ShowNodeCommand, ShowSubtreeCommand, SingleStepCommand, UnprocessedDisjunctionsCommand, WaitForCommand
public abstract class AbstractCommand
- extends java.lang.Object
- implements ICommand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debugger
protected Debugger debugger
args
protected java.lang.String[] args
AbstractCommand
public AbstractCommand()
execute
public abstract void execute()
- Specified by:
execute in interface ICommand
getHelpText
public abstract java.lang.String getHelpText()
- Specified by:
getHelpText in interface ICommand
showTextInWindow
protected void showTextInWindow(java.lang.String string,
java.lang.String title)
selectConsoleWindow
protected void selectConsoleWindow()
formatBlockingStatus
protected static java.lang.String formatBlockingStatus(Node node)
- Parameters:
node - a node in the tableau
- Returns:
- "no" if node is not blocked; "directly by" plus "signature in
cache" or the ID of the blocking node if the node is directly blocked;
"indirectly by" plus "signature in cache" or the ID of the blocking node
otherwise
getDebugger
public Debugger getDebugger()
setDebugger
public void setDebugger(Debugger debugger)
- Specified by:
setDebugger in interface ICommand
getArgs
public java.lang.String[] getArgs()
setArgs
public void setArgs(java.lang.String[] args)
- Specified by:
setArgs in interface ICommand