|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hudson.plugins.violations.model.FullBuildModel
public class FullBuildModel
Class containing all the violations for a build. built up during parsing of the violation xml files.
Constructor Summary | |
---|---|
FullBuildModel()
|
Method Summary | |
---|---|
void |
addType(java.lang.String type)
Add in a type. |
void |
cleanup()
Called at the end of a build. |
int |
getCountNumber(java.lang.String type)
For a particular type get the total number of violations. |
FullFileModel |
getFileModel(java.lang.String displayName)
Get a full file model for a particular file name. |
java.util.Map<java.lang.String,FullFileModel> |
getFileModelMap()
get the map of filename to file model. |
java.util.SortedMap<java.lang.String,java.util.SortedSet<FileSummary>> |
getTypeMap()
get the map of type to file summaries. |
java.util.SortedSet<FileSummary> |
getTypeSummary(java.lang.String type)
Get the set of file summaries for a particular type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FullBuildModel()
Method Detail |
---|
public java.util.SortedMap<java.lang.String,java.util.SortedSet<FileSummary>> getTypeMap()
public java.util.Map<java.lang.String,FullFileModel> getFileModelMap()
public int getCountNumber(java.lang.String type)
type
- the violations type.
public void addType(java.lang.String type)
type
- the violation type to add.public java.util.SortedSet<FileSummary> getTypeSummary(java.lang.String type)
type
- the type to get the summaries for.
public FullFileModel getFileModel(java.lang.String displayName)
displayName
- the name to use to refer to the file.
public void cleanup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |