public class PSystemError extends AbstractPSystem
Constructor and Description |
---|
PSystemError(UmlSource source,
ErrorUml singleError,
java.util.List<java.lang.String> debugLines) |
Modifier and Type | Method and Description |
---|---|
ImageData |
exportDiagram(java.io.OutputStream os,
int num,
FileFormatOption fileFormat)
Export the diagram as an image to some format.
|
DiagramDescription |
getDescription() |
java.util.Collection<ErrorUml> |
getErrorsUml() |
int |
getHigherErrorPosition() |
LineLocation |
getLineLocation() |
java.util.List<java.lang.String> |
getSuggest() |
java.lang.String |
getWarningOrError() |
static PSystemError |
merge(java.util.Collection<PSystemError> ps) |
executeCommand, getMetadata, getNbImages, getSource, getTitle, hasUrl, isOk, makeDiagramReady, setSource
public ImageData exportDiagram(java.io.OutputStream os, int num, FileFormatOption fileFormat) throws java.io.IOException
Diagram
new page
for sequence diagram for example).os
- where to write the imagenum
- useually 0 (index of the image to be exported for this diagram).fileFormat
- file format to usejava.io.IOException
public LineLocation getLineLocation()
public java.util.List<java.lang.String> getSuggest()
public DiagramDescription getDescription()
public final int getHigherErrorPosition()
public final java.util.Collection<ErrorUml> getErrorsUml()
public java.lang.String getWarningOrError()
getWarningOrError
in interface Diagram
getWarningOrError
in class AbstractPSystem
public static PSystemError merge(java.util.Collection<PSystemError> ps)