org.mactor.framework.spec
Class CommandSpec

java.lang.Object
  extended by org.mactor.framework.spec.SpecNode
      extended by org.mactor.framework.spec.CommandSpec
Direct Known Subclasses:
ActionSpec, MessageBuilderSpec, MessageSelectorSpec, ValueSpec

public abstract class CommandSpec
extends SpecNode


Field Summary
 
Fields inherited from class org.mactor.framework.spec.SpecNode
name, parentNode
 
Constructor Summary
CommandSpec()
           
 
Method Summary
 org.dom4j.Element addToElement(org.dom4j.Element parent)
           
 java.lang.String getCommand()
           
 java.lang.String getDescription()
           
 java.util.List<java.lang.String> getParams()
           
protected static CommandSpec loadSpec(CommandSpec spec, org.dom4j.Element element)
           
 void setCommand(java.lang.String command)
           
 
Methods inherited from class org.mactor.framework.spec.SpecNode
getName, getParentNode, getShortDescription, getType, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandSpec

public CommandSpec()
Method Detail

getCommand

public java.lang.String getCommand()

getParams

public java.util.List<java.lang.String> getParams()

loadSpec

protected static CommandSpec loadSpec(CommandSpec spec,
                                      org.dom4j.Element element)
                               throws MactorException
Throws:
MactorException

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class SpecNode

addToElement

public org.dom4j.Element addToElement(org.dom4j.Element parent)
Specified by:
addToElement in class SpecNode

setCommand

public void setCommand(java.lang.String command)


Copyright © 2008. All Rights Reserved.