Class RecipeTraceInfo

    • Method Detail

      • getParentRecipeTraces

        public java.util.List<RecipeTraceInfo> getParentRecipeTraces()
        For cloning in case of recursion cut-off points, use getParentRecipeTracesForCloning() instead.
        Returns:
        an unmodifiable view on parent traces, to be constructed before this node (or alongside, in case of recursion)
      • getParentRecipeTracesForCloning

        public java.util.Collection<? extends RecipeTraceInfo> getParentRecipeTracesForCloning()
        Directly return the underlying collection so that changes to it will be transparent. Use only for recursion-tolerant cloning.
        No Reference:
        This method is not intended to be referenced by clients.
      • shadowWithEquivalentRecipe

        public void shadowWithEquivalentRecipe​(ReteNodeRecipe knownRecipe)
        Parameters:
        knownRecipe - a known recipe that is equivalent to the current recipe
      • getShadowedRecipe

        public ReteNodeRecipe getShadowedRecipe()
        Get original recipe shadowed by an equivalent