Package net.sourceforge.plantuml.error
Class PSystemError
- java.lang.Object
-
- net.sourceforge.plantuml.AbstractPSystem
-
- net.sourceforge.plantuml.PlainDiagram
-
- net.sourceforge.plantuml.error.PSystemError
-
- All Implemented Interfaces:
Diagram
- Direct Known Subclasses:
PSystemErrorEmpty
,PSystemErrorPreprocessor
,PSystemErrorV2
public abstract class PSystemError extends PlainDiagram
-
-
Field Summary
Fields Modifier and Type Field Description protected ErrorUml
singleError
protected java.util.List<StringLocated>
trace
-
Constructor Summary
Constructors Constructor Description PSystemError(UmlSource source)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageBuilder
createImageBuilder(FileFormatOption fileFormatOption)
static void
disableTimeBasedErrorDecorations()
protected ImageData
exportDiagramNow(java.io.OutputStream os, int num, FileFormatOption fileFormat)
DiagramDescription
getDescription()
java.util.Collection<ErrorUml>
getErrorsUml()
ErrorUml
getFirstError()
protected StringLocated
getLastLine()
LineLocation
getLineLocation()
java.util.List<java.lang.String>
getPureAsciiFormatted()
protected UDrawable
getRootDrawable(FileFormatOption fileFormatOption)
protected java.util.List<java.lang.String>
getTextFullBody()
java.lang.String
getWarningOrError()
int
score()
-
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getDefaultMargins, getMetadata, getNbImages, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitle, getTitleDisplay, hasUrl, isOk, makeDiagramReady, seed, setScale, setSplitPagesHorizontal, setSplitPagesVertical
-
-
-
-
Field Detail
-
trace
protected java.util.List<StringLocated> trace
-
singleError
protected ErrorUml singleError
-
-
Constructor Detail
-
PSystemError
public PSystemError(UmlSource source)
-
-
Method Detail
-
disableTimeBasedErrorDecorations
public static void disableTimeBasedErrorDecorations()
-
createImageBuilder
public ImageBuilder createImageBuilder(FileFormatOption fileFormatOption) throws java.io.IOException
- Overrides:
createImageBuilder
in classPlainDiagram
- Throws:
java.io.IOException
-
getLastLine
protected final StringLocated getLastLine()
-
getLineLocation
public final LineLocation getLineLocation()
-
getErrorsUml
public final java.util.Collection<ErrorUml> getErrorsUml()
-
getFirstError
public final ErrorUml getFirstError()
-
getWarningOrError
public final java.lang.String getWarningOrError()
- Specified by:
getWarningOrError
in interfaceDiagram
- Overrides:
getWarningOrError
in classAbstractPSystem
-
getPureAsciiFormatted
public java.util.List<java.lang.String> getPureAsciiFormatted()
-
getTextFullBody
protected java.util.List<java.lang.String> getTextFullBody()
-
exportDiagramNow
protected final ImageData exportDiagramNow(java.io.OutputStream os, int num, FileFormatOption fileFormat) throws java.io.IOException
- Overrides:
exportDiagramNow
in classPlainDiagram
- Throws:
java.io.IOException
-
getRootDrawable
protected UDrawable getRootDrawable(FileFormatOption fileFormatOption) throws java.io.IOException
- Specified by:
getRootDrawable
in classPlainDiagram
- Throws:
java.io.IOException
-
getDescription
public final DiagramDescription getDescription()
-
score
public int score()
-
-