public class RemoveAction extends ModifyAction implements IBufferAction
Modifier and Type | Class and Description |
---|---|
class |
RemoveAction.RemoveActionTimedEvent |
ModifyAction.ModifyActionTimedEvent
Constructor and Description |
---|
RemoveAction()
Constructor for the RemoveAction object
|
RemoveAction(java.lang.String bufferName)
Constructor for the RemoveAction object
|
RemoveAction(java.lang.String bufferName,
java.util.Collection<? extends ISlot> slots) |
Modifier and Type | Method and Description |
---|---|
IAction |
bind(VariableBindings variableBindings)
Bind is called during the creation of an instantiation of a produciton.
|
double |
fire(IInstantiation instantiation,
double firingTime)
post an event that will remove the contents of the buffer.
|
addSlot, bindChunk, canModify, dispose, getBoundChunk, getBufferName, getSlots, getSlots, getSlotsInternal, removeSlot, setBufferName
bindSlotValues, resolve, updateSlots
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBufferName, setBufferName
public RemoveAction(java.lang.String bufferName)
bufferName
- Description of the Parameterpublic RemoveAction()
public RemoveAction(java.lang.String bufferName, java.util.Collection<? extends ISlot> slots)
public IAction bind(VariableBindings variableBindings) throws CannotInstantiateException
IAction
bind
in interface IAction
bind
in class ModifyAction
CannotInstantiateException
public double fire(IInstantiation instantiation, double firingTime)
fire
in interface IAction
fire
in class ModifyAction
instantiation
- Description of the ParameterfiringTime
- when this production was fired