Package de.hsh.graja.regression.report
Class Violation
java.lang.Object
de.hsh.graja.regression.report.Violation
- All Implemented Interfaces:
Attachable,Renderable
- Direct Known Subclasses:
CommentEqualityViolation,CommentsUnavailableViolation,ExpectedSuccessRateViolation,GradeOrSuccessViolation,MissingGradingResultViolation,TransferUnavailableViolation,TreeStructureViolation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal List<Attachment>final voidattach(Attachment attachment) abstract ViolationCategoryprotected j2html.tags.ContainerTag<?>renderWithDescriptionAndAttachments(j2html.tags.DomContent... append) final voidsetLocationContextIdentifier(String locationContextIdentifier) Shall only be used to generate the clickable "go to location context" anchor.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hsh.graja.regression.report.Renderable
render
-
Constructor Details
-
Violation
public Violation()
-
-
Method Details
-
getViolationType
-
getIdentifier
-
setLocationContextIdentifier
Shall only be used to generate the clickable "go to location context" anchor.- Parameters:
locationContextIdentifier- to associate with this violation.- Throws:
UnsupportedOperationException- If an identifier has already been set.
-
renderWithDescriptionAndAttachments
protected j2html.tags.ContainerTag<?> renderWithDescriptionAndAttachments(j2html.tags.DomContent... append) -
attach
- Specified by:
attachin interfaceAttachable
-
allAttachments
- Specified by:
allAttachmentsin interfaceAttachable
-