public interface TransformerListener
Modifier and Type | Method and Description |
---|---|
void |
modelSaved(ModelAdapter model)
Reports that a model was saved.
|
void |
modelWritable(ModelAdapter model)
Reports that a model was made writable.
|
default void |
nodeCreated(Node node)
Reports that a node was created.
|
boolean |
saveFailed(java.lang.Throwable exception,
ModelAdapter model,
java.lang.String label)
Reports that saving a model failed.
|
default boolean |
saveFailed(java.lang.Throwable exception,
Node node,
java.lang.String label) |
boolean |
transformFailed(java.lang.Throwable exception,
Violation violation,
Transform transform,
java.lang.String label)
Reports that a transform failed.
|
void modelWritable(ModelAdapter model)
boolean transformFailed(java.lang.Throwable exception, Violation violation, Transform transform, java.lang.String label)
exception
- The exception that indicated failure.violation
- The violation being associated with the transform.transform
- The transform that failed.label
- The label for the transform transaction.void modelSaved(ModelAdapter model)
model
- The model that was saved.boolean saveFailed(java.lang.Throwable exception, ModelAdapter model, java.lang.String label)
exception
- The exception that indicated failure.model
- The model which could not be saved.label
- The label for the transform transaction.default void nodeCreated(Node node)
node
- The node that was created.default boolean saveFailed(java.lang.Throwable exception, Node node, java.lang.String label)
exception
- The exception that indicated failure.node
- The node which could not be saved.label
- The label for the transform transaction.