|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hudson.plugins.violations.model.BuildModel.FileCount
public static class BuildModel.FileCount
A class of file name to count mapping.
Constructor Summary | |
---|---|
BuildModel.FileCount(java.lang.String name,
int[] counts,
FileModelProxy proxy)
Create a FileCount object. |
Method Summary | |
---|---|
int |
compareTo(BuildModel.FileCount other)
Compare to another FileCount object. |
int |
getCount()
Get the number of violations. |
FileModel |
getFileModel()
Get the associated file model proxy. |
int |
getHigh()
Get the number of high severity violations. |
int |
getLow()
Get the number of low severity violations. |
int |
getMedium()
Get the number of medium severity violations. |
java.lang.String |
getName()
Get the name of the file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildModel.FileCount(java.lang.String name, int[] counts, FileModelProxy proxy)
name
- the name of the file.counts
- the numbers of violations (of a particular type) in the
file.proxy
- the associated file proxy (used during rendering).Method Detail |
---|
public java.lang.String getName()
public int getCount()
public int getHigh()
public int getMedium()
public int getLow()
public FileModel getFileModel()
public int compareTo(BuildModel.FileCount other)
compareTo
in interface java.lang.Comparable<BuildModel.FileCount>
other
- the other file count object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |