org.almendra.janet.ade.commands
Class ExecutorAnchorCommand
java.lang.Object
org.almendra.janet.ade.commands.ExecutorAnchorCommand
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, ICommand
- Direct Known Subclasses:
- ExecuteWorkloadCommand
public abstract class ExecutorAnchorCommand
- extends java.lang.Object
- implements ICommand, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
anchor
protected transient ExecutorAnchor anchor
ExecutorAnchorCommand
protected ExecutorAnchorCommand()
- Creates a new
ExecutorAnchorCommand
object.
ExecutorAnchorCommand
public ExecutorAnchorCommand(ExecutorAnchor anchor)
- Creates a new
ExecutorAnchorCommand
object.
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Description copied from interface:
ICommand
- Make sure the user can rely on a command to be cloneable. Needed by the system
to clone commands in simulated mode which is necessary so that every agent receives
a command with a pointer of its own which is the case in distributed mode anyway.
- Specified by:
clone
in interface ICommand
- Overrides:
clone
in class java.lang.Object
- Returns:
-
- Throws:
java.lang.CloneNotSupportedException
getAnchor
public ExecutorAnchor getAnchor()
- Returns:
- Returns the anchor.
setAnchor
public void setAnchor(ExecutorAnchor anchor)
- Parameters:
anchor
- The anchor to set.