net.fortytwo.ripple.query
Class Command

java.lang.Object
  extended by net.fortytwo.ripple.control.Task
      extended by net.fortytwo.ripple.query.Command
Direct Known Subclasses:
DefineKeywordCmd, DefineListCmd, DefinePrefixCmd, QuitCmd, RedefineListCmd, RippleQueryCmd, ShowContextsCmd, ShowPrefixesCmd, UndefineListCmd, UndefinePrefixCmd, VisibleQueryCommand

public abstract class Command
extends Task


Constructor Summary
Command()
           
 
Method Summary
protected abstract  void abort()
           
abstract  void execute(QueryEngine qe, ModelConnection mc)
           
protected  void executeProtected()
           
 void setQueryEngine(QueryEngine qe)
           
protected  void stopProtected()
           
 
Methods inherited from class net.fortytwo.ripple.control.Task
addChild, begin, execute, stop, waitUntilFinished
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Command

public Command()
Method Detail

abort

protected abstract void abort()

execute

public abstract void execute(QueryEngine qe,
                             ModelConnection mc)
                      throws RippleException
Throws:
RippleException

setQueryEngine

public void setQueryEngine(QueryEngine qe)

executeProtected

protected void executeProtected()
                         throws RippleException
Specified by:
executeProtected in class Task
Throws:
RippleException

stopProtected

protected void stopProtected()
Specified by:
stopProtected in class Task


Copyright © 2007-2011 fortytwo.net. All Rights Reserved.