org.umber.catalan.commands
Class BaseForgeCommand
java.lang.Object
org.umber.catalan.commands.BaseForgeCommand
- All Implemented Interfaces:
- IForgeCommand
- Direct Known Subclasses:
- BellowsCommand, CompositeCommand, CrucibleCommand, JasperCommand, TextCommand, VelocityCommand, XsltCommand
- public abstract class BaseForgeCommand
- extends java.lang.Object
- implements IForgeCommand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseForgeCommand
public BaseForgeCommand(ICommandQueue queue,
java.lang.String type,
java.lang.String name,
java.util.Map params)
validateParams
protected abstract void validateParams()
runCommand
protected abstract CommandResult runCommand()
throws CatalanCommandException
- Throws:
CatalanCommandException
getQueue
public ICommandQueue getQueue()
- Specified by:
getQueue
in interface IForgeCommand
getType
public java.lang.String getType()
- Specified by:
getType
in interface IForgeCommand
getName
public java.lang.String getName()
- Specified by:
getName
in interface IForgeCommand
getCommandParams
public java.util.Map getCommandParams()
- Specified by:
getCommandParams
in interface IForgeCommand
run
public final CommandResult run()
throws CatalanCommandException
- Specified by:
run
in interface IForgeCommand
- Throws:
CatalanCommandException