public class ChunkTypeCondition extends AbstractBufferCondition
Constructor and Description |
---|
ChunkTypeCondition(java.lang.String bufferName,
IChunkType chunkType) |
ChunkTypeCondition(java.lang.String bufferName,
IChunkType chunkType,
java.util.Collection<? extends ISlot> slots) |
Modifier and Type | Method and Description |
---|---|
int |
bind(IModel model,
VariableBindings variableBindings,
boolean isIterative)
Iteratively perform the resolution and binding for this condition.
|
ChunkTypeCondition |
clone(IModel model,
VariableBindings bindings)
attempt to clone this condition before it will be bound in the
instantiation phase.
|
protected java.lang.String |
createToString() |
boolean |
equals(java.lang.Object obj) |
IChunkType |
getChunkType() |
ChunkTypeRequest |
getRequest() |
int |
hashCode() |
getActivationBuffer, getBufferName
addSlot, clearToString, dispose, getConditionalSlots, getSlots, getSlots, removeSlot, setRequest, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
dispose
public ChunkTypeCondition(java.lang.String bufferName, IChunkType chunkType)
public ChunkTypeCondition(java.lang.String bufferName, IChunkType chunkType, java.util.Collection<? extends ISlot> slots)
public ChunkTypeCondition clone(IModel model, VariableBindings bindings) throws CannotMatchException
ICondition
CannotMatchException
- if there is no way this condition can be matchedpublic IChunkType getChunkType()
public ChunkTypeRequest getRequest()
getRequest
in class AbstractSlotCondition
protected java.lang.String createToString()
createToString
in class AbstractBufferCondition
public int bind(IModel model, VariableBindings variableBindings, boolean isIterative) throws CannotMatchException
ICondition
CannotMatchException
public int hashCode()
hashCode
in class AbstractBufferCondition
public boolean equals(java.lang.Object obj)
equals
in class AbstractBufferCondition