org.jboss.dna.common.collection
Class SimpleProblems

java.lang.Object
  extended by org.jboss.dna.common.collection.AbstractProblems
      extended by org.jboss.dna.common.collection.SimpleProblems
All Implemented Interfaces:
Iterable<Problem>, Problems

@NotThreadSafe
public class SimpleProblems
extends AbstractProblems

A list of problems for some execution context. The problems will be returned in the order in which they were encountered (although this cannot be guaranteed in contexts involving multiple threads or processes).

Author:
Randall Hauch, John Verhaeg

Field Summary
 
Fields inherited from class org.jboss.dna.common.collection.AbstractProblems
EMPTY_PROBLEMS
 
Constructor Summary
SimpleProblems()
           
 
Method Summary
protected  void addProblem(Problem problem)
          
protected  List<Problem> getProblems()
          
 
Methods inherited from class org.jboss.dna.common.collection.AbstractProblems
addError, addError, addError, addError, addError, addError, addError, addError, addInfo, addInfo, addInfo, addInfo, addInfo, addInfo, addInfo, addInfo, addWarning, addWarning, addWarning, addWarning, addWarning, addWarning, addWarning, addWarning, hasErrors, hasInfo, hasProblems, hasWarnings, isEmpty, iterator, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleProblems

public SimpleProblems()
Method Detail

addProblem

protected void addProblem(Problem problem)

Specified by:
addProblem in class AbstractProblems
See Also:
AbstractProblems.addProblem(Problem)

getProblems

protected List<Problem> getProblems()

Specified by:
getProblems in class AbstractProblems
See Also:
AbstractProblems.getProblems()


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.