public class PropagateErrorFlows
extends java.lang.Object
Constructor and Description |
---|
PropagateErrorFlows(java.lang.String reportType,
ComponentInstance root) |
PropagateErrorFlows(java.lang.String reportType,
org.eclipse.emf.ecore.EObject root,
int maxDepth) |
Modifier and Type | Method and Description |
---|---|
void |
addNewline() |
void |
addText(java.lang.String text) |
void |
addTextNewline(java.lang.String text) |
int |
getMaxDepth() |
void |
report(InstanceObject io,
ErrorPropagation ep)
report on io object with optional error propagation.
|
void |
report(InstanceObject io,
java.lang.String prefix)
can be overwritten.
|
void |
saveReport() |
void |
setMaxDepth(int maxDepth) |
void |
startErrorFlows(ComponentInstance ci)
traverse error flow if the component instance is an error source
|
public PropagateErrorFlows(java.lang.String reportType, ComponentInstance root)
public PropagateErrorFlows(java.lang.String reportType, org.eclipse.emf.ecore.EObject root, int maxDepth)
public void setMaxDepth(int maxDepth)
public void addText(java.lang.String text)
public int getMaxDepth()
public void addTextNewline(java.lang.String text)
public void addNewline()
public void saveReport()
public void startErrorFlows(ComponentInstance ci)
ci
- component instancepublic void report(InstanceObject io, java.lang.String prefix)
ci
- component instanceprefix
- public void report(InstanceObject io, ErrorPropagation ep)
io
- Instance Objectep
- Error Propagation