hudson.plugins.violations.model
Class BuildModel.TypeCount

java.lang.Object
  extended by hudson.plugins.violations.model.BuildModel.TypeCount
Enclosing class:
BuildModel

public static class BuildModel.TypeCount
extends java.lang.Object

A class used in displaying number of violations and files in violation.


Constructor Summary
BuildModel.TypeCount(java.lang.String name, int numberFiles, int count)
          Constructor for TypeCount.
 
Method Summary
 int getCount()
          Get the number of violations of this type.
 java.lang.String getName()
          Get the type name.
 int getNumberFiles()
          Get the number of file that contain violations of this type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildModel.TypeCount

public BuildModel.TypeCount(java.lang.String name,
                            int numberFiles,
                            int count)
Constructor for TypeCount.

Parameters:
name - the type name.
numberFiles - the number of files in violation.
count - the number of violations.
Method Detail

getName

public java.lang.String getName()
Get the type name.

Returns:
the type name.

getCount

public int getCount()
Get the number of violations of this type.

Returns:
the number.

getNumberFiles

public int getNumberFiles()
Get the number of file that contain violations of this type.

Returns:
the number.


Copyright © 2008. All Rights Reserved.