genie.commons.chain
Class CommandRunner

java.lang.Object
  extended by genie.commons.chain.CommandRunner
Direct Known Subclasses:
Manager

public abstract class CommandRunner
extends java.lang.Object

Author:
T. Kia Ntoni 27 déc. 2004 CommandRunner @version

Field Summary
protected  Catalog catalog
           
protected  java.util.Map<java.lang.String,Context> contexts
           
 
Constructor Summary
CommandRunner()
           
 
Method Summary
abstract  boolean execute(Context context)
           
protected  Catalog getCatalog()
           
protected  java.util.Map<java.lang.String,Context> getContexts()
           
protected  void setCatalog(Catalog catalog)
           
protected  void setContexts(java.util.Map<java.lang.String,Context> contexts)
           
protected static void verbosePrint(CommandRunner base)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contexts

protected java.util.Map<java.lang.String,Context> contexts

catalog

protected Catalog catalog
Constructor Detail

CommandRunner

public CommandRunner()
Method Detail

execute

public abstract boolean execute(Context context)
                         throws java.lang.Exception
Throws:
java.lang.Exception

getCatalog

protected Catalog getCatalog()
Returns:
Returns the catalog.

setCatalog

protected void setCatalog(Catalog catalog)
Parameters:
catalog - The catalog to set.

getContexts

protected java.util.Map<java.lang.String,Context> getContexts()
Returns:
Returns the contexts.

setContexts

protected void setContexts(java.util.Map<java.lang.String,Context> contexts)
Parameters:
contexts - The contexts to set.

verbosePrint

protected static void verbosePrint(CommandRunner base)


Copyright © 2004-2005 Genies Projects. All Rights Reserved.