org.jactr.core.production.request
Class ChunkTypeRequest
java.lang.Object
org.jactr.core.production.request.SlotBasedRequest
org.jactr.core.production.request.ChunkTypeRequest
- All Implemented Interfaces:
- java.lang.Cloneable, IRequest, ISlotContainer
- Direct Known Subclasses:
- ChunkRequest
public class ChunkTypeRequest
- extends SlotBasedRequest
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChunkTypeRequest
public ChunkTypeRequest(IChunkType chunkType)
ChunkTypeRequest
public ChunkTypeRequest(IChunkType chunkType,
java.util.Collection<? extends ISlot> slots)
clone
public ChunkTypeRequest clone()
- Description copied from interface:
IRequest
- duplicate this IRequest so that the clone can
be resolved against since the process is destructive
- Specified by:
clone in interface IRequest- Overrides:
clone in class SlotBasedRequest
- Returns:
- deep copy
clone
public ChunkTypeRequest clone(IChunk testChunk)
throws CannotMatchException
- shortcut clone that can be used to by pass the actual cloing if we can
determine now that it can't be matched
- Parameters:
testChunk -
- Returns:
-
- Throws:
CannotMatchException
getChunkType
public IChunkType getChunkType()
bind
public int bind(IChunk testChunk,
IModel model,
java.util.Map<java.lang.String,java.lang.Object> bindings,
boolean iterativeCall)
throws CannotMatchException
- same idea as
IRequest.bind(IModel, Map, boolean)
- Parameters:
testChunk - model - bindings -
- Returns:
-
- Throws:
CannotMatchException