setArtifact
public <T> void setArtifact(RecipeArtifact<T> key,
T artifact,
RecipeProcess.SetArtifactMode mode)
Set the result artifact for the given key.
If retrieveConnectedInputs is true, and a context was provided, then all
objects connected to this artifact (as per the setted recipes) are
retrieved and setted.
If unsetResults is true, then all the depending artifacts are unset. An
artifact is (indirectly) depending on this artifact key, if there is
(indirectly) a function that requires it as input.
- Overrides:
setArtifact
in class RecipeProcess