ro.isdc.wro.extensions.support.lint
Class LintReport<T>

java.lang.Object
  extended by ro.isdc.wro.extensions.support.lint.LintReport<T>

public final class LintReport<T>
extends Object

Encapsulates information about lint errors associated with a collection of resources. This class is generic, the type describe the type of lint errors.

Since:
1.5.0
Author:
Alex Objelean

Constructor Summary
LintReport()
           
 
Method Summary
 LintReport<T> addReport(ResourceLintReport<T> resourceLintReport)
          Add a single lint report to underlying collection.
 List<ResourceLintReport<T>> getReports()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LintReport

public LintReport()
Method Detail

getReports

public List<ResourceLintReport<T>> getReports()
Returns:
a readonly collection of resource

addReport

public LintReport<T> addReport(ResourceLintReport<T> resourceLintReport)
Add a single lint report to underlying collection.

Parameters:
resourceLintReport - ResourceLintReport to add.
Returns:
reference to this LintReport object (fluent interface).

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2008-2013. All Rights Reserved.