ist.palcom.hgraph
Class AbstractInvokator
java.lang.Object
ist.palcom.hgraph.AbstractInvokator
- All Implemented Interfaces:
- Invokator
- Direct Known Subclasses:
- CompassInvokator, GenericInvokator, HgraphManagerInvokator
public abstract class AbstractInvokator
- extends java.lang.Object
- implements Invokator
Abstractinvokator implements the basic functionality of Invokator, such as invoke and log
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_NUM_LOGS
public static final int DEFAULT_NUM_LOGS
- See Also:
- Constant Field Values
AbstractInvokator
public AbstractInvokator(IHgraphNode node,
java.lang.String name,
java.lang.String description)
AbstractInvokator
public AbstractInvokator(int numLogs,
IHgraphNode node,
java.lang.String name,
java.lang.String description)
invoke
public void invoke(java.lang.String command,
Path path,
java.lang.String returnCommand,
Value value)
log
protected void log(long time,
HgraphEvent event)
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Invokator
- Returns:
- A description of the purpose of the invokator in prose. It should as a minimum describe the commands
the invokator is able to invoke
getName
public java.lang.String getName()
- Specified by:
getName in interface Invokator
- Returns:
- The name of the invokator.
getLast
public Value[] getLast(int num)
- Specified by:
getLast in interface Invokator
getLogIterator
public java.util.Iterator getLogIterator()
- Specified by:
getLogIterator in interface Invokator