|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hudson.plugins.violations.model.FileSummary
public class FileSummary
A set of violations from a full file model for a particular type.
Constructor Summary | |
---|---|
FileSummary(FullFileModel fileModel,
java.util.TreeSet violations)
Constructor for FileSummary. |
Method Summary | |
---|---|
int |
compareTo(FileSummary other)
Implement a compare to based on the number of violations. |
FullFileModel |
getFileModel()
Get the file model. |
java.util.TreeSet |
getViolations()
Get the associated violations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileSummary(FullFileModel fileModel, java.util.TreeSet violations)
fileModel
- the file modelviolations
- the violation set to associate with the file model.Method Detail |
---|
public FullFileModel getFileModel()
public java.util.TreeSet getViolations()
public int compareTo(FileSummary other)
compareTo
in interface java.lang.Comparable<FileSummary>
other
- the other summary to compare to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |