public class RecipeTraceInfo extends java.lang.Object implements TraceInfo
Constructor and Description |
---|
RecipeTraceInfo(ReteNodeRecipe recipe,
java.util.Collection<? extends RecipeTraceInfo> parentRecipeTraces) |
RecipeTraceInfo(ReteNodeRecipe recipe,
RecipeTraceInfo... parentRecipeTraces) |
Modifier and Type | Method and Description |
---|---|
void |
assignNode(Node node) |
Node |
getNode() |
java.util.List<RecipeTraceInfo> |
getParentRecipeTraces()
For cloning in case of recursion cut-off points, use
getParentRecipeTracesForCloning() instead. |
java.util.Collection<? extends RecipeTraceInfo> |
getParentRecipeTracesForCloning()
Directly return the underlying collection so that changes to it will be transparent.
|
ReteNodeRecipe |
getRecipe() |
ReteNodeRecipe |
getShadowedRecipe()
Get original recipe shadowed by an equivalent
|
boolean |
propagateFromIndexerToSupplierParent() |
boolean |
propagateFromStandardNodeToSupplierParent() |
boolean |
propagateToIndexerParent() |
boolean |
propagateToProductionNodeParentAlso() |
void |
shadowWithEquivalentRecipe(ReteNodeRecipe knownRecipe) |
public RecipeTraceInfo(ReteNodeRecipe recipe, java.util.Collection<? extends RecipeTraceInfo> parentRecipeTraces)
public RecipeTraceInfo(ReteNodeRecipe recipe, RecipeTraceInfo... parentRecipeTraces)
public ReteNodeRecipe getRecipe()
public java.util.List<RecipeTraceInfo> getParentRecipeTraces()
getParentRecipeTracesForCloning()
instead.public java.util.Collection<? extends RecipeTraceInfo> getParentRecipeTracesForCloning()
public boolean propagateToIndexerParent()
propagateToIndexerParent
in interface TraceInfo
public boolean propagateFromIndexerToSupplierParent()
propagateFromIndexerToSupplierParent
in interface TraceInfo
public boolean propagateFromStandardNodeToSupplierParent()
propagateFromStandardNodeToSupplierParent
in interface TraceInfo
public boolean propagateToProductionNodeParentAlso()
propagateToProductionNodeParentAlso
in interface TraceInfo
public void assignNode(Node node)
assignNode
in interface TraceInfo
public void shadowWithEquivalentRecipe(ReteNodeRecipe knownRecipe)
knownRecipe
- a known recipe that is equivalent to the current recipepublic ReteNodeRecipe getShadowedRecipe()