|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ail.core.Type
com.ail.core.command.AbstractCommand
public abstract class AbstractCommand
This is the super class of all command objects.
| Field Summary |
|---|
| Fields inherited from class com.ail.core.Type |
|---|
jXPathContext, NOT_PERSISTED |
| Constructor Summary | |
|---|---|
AbstractCommand()
|
|
| Method Summary | |
|---|---|
abstract CommandArg |
getArgs()
Get the argument set associated with this command. |
abstract Configuration |
getConfiguration()
Fetch the configuration of the entry point associated with this command. |
abstract Version |
getVersion()
Fetch the version of the command (entry point) associated with this command. |
abstract void |
invoke()
Invoke the command associated with this command object. |
abstract void |
setArgs(CommandArg that)
Update this Command object's arguments with those taken from the command arg passed in. |
abstract void |
setConfiguration(Configuration properties)
Update the configuration of the entry point associated with this command. |
| Methods inherited from class com.ail.core.Type |
|---|
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractCommand()
| Method Detail |
|---|
public abstract void setArgs(CommandArg that)
that - Source for argumentspublic abstract CommandArg getArgs()
public abstract void invoke()
throws BaseException
BaseExceptionpublic abstract Version getVersion()
Note: This method does not return the version of the command.
public abstract Configuration getConfiguration()
public abstract void setConfiguration(Configuration properties)
properties - Properties to replace the current configuration.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||