Package de.hsh.graja.regression.report
Class RegressionLocationContext
- java.lang.Object
-
- de.hsh.graja.regression.report.RegressionLocationContext
-
- All Implemented Interfaces:
Attachable
,Renderable
,Comparable<RegressionLocationContext>
public class RegressionLocationContext extends Object implements Attachable, Comparable<RegressionLocationContext>, Renderable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RegressionLocationContext.Level
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Attachment>
allAttachments()
void
attach(Attachment attachment)
int
compareTo(RegressionLocationContext o)
OccurrenceClassifier
getClassifier()
String
getIdentifier()
RegressionLocationContext.Level
getLevel()
List<Violation>
getViolations()
List<String>
getViolatorPath()
static RegressionLocationContext
ofL2(OccurrenceClassifier classifier, List<Violation> violations)
static RegressionLocationContext
ofL3Plus(List<String> violatorPath, OccurrenceClassifier classifier, List<Violation> violations, boolean isL3PlusGroup)
j2html.tags.ContainerTag<?>
render()
String
renderDescription()
String
toString()
-
-
-
Method Detail
-
getClassifier
public OccurrenceClassifier getClassifier()
-
ofL3Plus
public static RegressionLocationContext ofL3Plus(List<String> violatorPath, OccurrenceClassifier classifier, List<Violation> violations, boolean isL3PlusGroup)
-
ofL2
public static RegressionLocationContext ofL2(OccurrenceClassifier classifier, List<Violation> violations)
-
attach
public void attach(Attachment attachment)
- Specified by:
attach
in interfaceAttachable
-
allAttachments
public List<Attachment> allAttachments()
- Specified by:
allAttachments
in interfaceAttachable
-
compareTo
public int compareTo(RegressionLocationContext o)
- Specified by:
compareTo
in interfaceComparable<RegressionLocationContext>
-
render
public j2html.tags.ContainerTag<?> render()
- Specified by:
render
in interfaceRenderable
-
getIdentifier
public String getIdentifier()
-
renderDescription
public String renderDescription()
-
getLevel
public RegressionLocationContext.Level getLevel()
-
-