public class PSystemError extends AbstractPSystem
Constructor and Description |
---|
PSystemError(UmlSource source,
ErrorUml singleError,
List<String> debugLines) |
Modifier and Type | Method and Description |
---|---|
ImageData |
exportDiagram(OutputStream os,
int num,
FileFormatOption fileFormat)
Export the diagram as an image to some format.
|
DiagramDescription |
getDescription() |
Collection<ErrorUml> |
getErrorsUml() |
int |
getHigherErrorPosition() |
LineLocation |
getLineLocation() |
List<String> |
getSuggest() |
String |
getWarningOrError() |
static PSystemError |
merge(Collection<PSystemError> ps) |
executeCommand, getMetadata, getNbImages, getSource, getTitle, hasUrl, isOk, makeDiagramReady, setSource
public ImageData exportDiagram(OutputStream os, int num, FileFormatOption fileFormat) throws 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 useIOException
public LineLocation getLineLocation()
public DiagramDescription getDescription()
public final int getHigherErrorPosition()
public final Collection<ErrorUml> getErrorsUml()
public String getWarningOrError()
getWarningOrError
in interface Diagram
getWarningOrError
in class AbstractPSystem
public static PSystemError merge(Collection<PSystemError> ps)
Copyright © 2015. All Rights Reserved.