Class ErrorReport
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.report.AbstractReport
br.ufsc.labsec.signature.conformanceVerifier.report.ErrorReport
- All Implemented Interfaces:
ReportElement
public class ErrorReport extends AbstractReport
-
Constructor Summary
Constructors Constructor Description ErrorReport(String tag, String pluralTag, Consumer<ReportBuilder<?,?>> additionalElements, Collection<String> errorMessages)
ErrorReport(String tag, Collection<String> errorMessages)
ErrorReport(String tag, Consumer<ReportBuilder<?,?>> additionalElements)
ErrorReport(String tag, Consumer<ReportBuilder<?,?>> additionalElements, Collection<String> errorMessages)
-
Method Summary
Modifier and Type Method Description protected void
buildElements(ReportBuilder<?,?> documentBuilder)
Constroi os elementos específicos do relatórioString
getElementTag()
Retorna a tag do elementoString
getPluralElementTag()
Retorna a tag do elemento no pluralMethods inherited from class br.ufsc.labsec.signature.conformanceVerifier.report.AbstractReport
addAllErrorMessages, addErrorMessage, clear, generateDocument, generateElement, generateJSON, getErrorMessages
-
Constructor Details
-
ErrorReport
-
ErrorReport
-
ErrorReport
public ErrorReport(String tag, Consumer<ReportBuilder<?,?>> additionalElements, Collection<String> errorMessages) -
ErrorReport
public ErrorReport(String tag, String pluralTag, Consumer<ReportBuilder<?,?>> additionalElements, Collection<String> errorMessages)
-
-
Method Details
-
getElementTag
Description copied from interface:ReportElement
Retorna a tag do elemento- Returns:
- A tag do elemento
-
getPluralElementTag
Description copied from interface:ReportElement
Retorna a tag do elemento no plural- Returns:
- A tag do elemento no plural
-
buildElements
Description copied from class:AbstractReport
Constroi os elementos específicos do relatório- Specified by:
buildElements
in classAbstractReport
- Parameters:
documentBuilder
- builder
-