public class SlotMatchFailure extends AbstractMatchFailure
Constructor and Description |
---|
SlotMatchFailure(ICondition condition,
IUniqueSlotContainer container,
IConditionalSlot cSlot,
ISlot mismatchedSlot,
java.lang.Object variableDefinition)
failure when the mismatchedSlot in the container does not meet the
condition
|
SlotMatchFailure(IUniqueSlotContainer container,
IConditionalSlot cSlot)
call for when the container doesn't actually have the slot
|
SlotMatchFailure(IUniqueSlotContainer container,
IConditionalSlot cSlot,
ISlot mismatchedSlot) |
Modifier and Type | Method and Description |
---|---|
IConditionalSlot |
getConditionalSlot() |
ISlot |
getMismatchedSlot() |
IUniqueSlotContainer |
getSlotContainer() |
java.lang.Object |
getVariableDefinition() |
boolean |
involvedVariableValue() |
java.lang.String |
toString() |
getCondition, setCondition
public SlotMatchFailure(IUniqueSlotContainer container, IConditionalSlot cSlot)
container
- cSlot
- public SlotMatchFailure(ICondition condition, IUniqueSlotContainer container, IConditionalSlot cSlot, ISlot mismatchedSlot, java.lang.Object variableDefinition)
container
- cSlot
- mismatchedSlot
- variableDefinition
- the slot that bound the variable value (if any) or possibly the
bufferpublic SlotMatchFailure(IUniqueSlotContainer container, IConditionalSlot cSlot, ISlot mismatchedSlot)
public IUniqueSlotContainer getSlotContainer()
public IConditionalSlot getConditionalSlot()
public ISlot getMismatchedSlot()
public boolean involvedVariableValue()
public java.lang.Object getVariableDefinition()
public java.lang.String toString()
toString
in class java.lang.Object