hudson.plugins.cpptest.parser
Class Cpptest

java.lang.Object
  extended by hudson.plugins.cpptest.parser.Cpptest

public class Cpptest
extends java.lang.Object

Java Bean class for a errors and other collection of the Cpptest format.

Author:
Ulli Hafner NQH: adapt for Cpptest NQH: add rule description & category implementation & location

Constructor Summary
Cpptest()
           
 
Method Summary
 boolean addCategory(Category e)
           
 void addFile(StdViol file)
          Adds a new file to this bug collection.
 boolean addLocation(Location e)
           
 boolean addRuleDesc(RuleDesc e)
           
 java.util.Collection<Category> getCategories()
          Returns all categories of this violations collection.
 java.util.Collection<StdViol> getFiles()
          Returns all files of this violations collection.
 java.util.Collection<Location> getLocations()
          Returns all locations of this violations collection.
 java.util.Collection<RuleDesc> getRuleDescs()
          Returns all rule descriptions of this violations collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cpptest

public Cpptest()
Method Detail

addFile

public void addFile(StdViol file)
Adds a new file to this bug collection.

Parameters:
file - the file to add

getFiles

public java.util.Collection<StdViol> getFiles()
Returns all files of this violations collection. The returned collection is read-only.

Returns:
all files of this bug collection

getRuleDescs

public java.util.Collection<RuleDesc> getRuleDescs()
Returns all rule descriptions of this violations collection. The returned collection is read-only.

Returns:
all descriptions of this bug collection

getCategories

public java.util.Collection<Category> getCategories()
Returns all categories of this violations collection. The returned collection is read-only.

Returns:
all categories of this bug collection

getLocations

public java.util.Collection<Location> getLocations()
Returns all locations of this violations collection. The returned collection is read-only.

Returns:
all locations of this bug collection

addCategory

public boolean addCategory(Category e)
Parameters:
e -
Returns:
See Also:
List.add(java.lang.Object)

addRuleDesc

public boolean addRuleDesc(RuleDesc e)
Parameters:
e -
Returns:
See Also:
List.add(java.lang.Object)

addLocation

public boolean addLocation(Location e)
Parameters:
e -
Returns:
See Also:
List.add(java.lang.Object)


Copyright © 2010. All Rights Reserved.