@ThreadSafe public class ThreadSafeProblems extends AbstractProblems
Problems collection. The problems will be returned in the order in which they were
encountered.EMPTY_PROBLEMS| Constructor and Description |
|---|
ThreadSafeProblems() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(Iterable<Problem> problems)
Add all of the problems in the supplied list.
|
protected void |
addProblem(Problem problem) |
protected List<Problem> |
getProblems() |
boolean |
hasErrors()
Determine if there is at least one error in this collection.
|
boolean |
hasInfo()
Determine if there is at least one informational problem in this collection.
|
boolean |
hasProblems()
Determine if there are problems in this collection.
|
boolean |
hasWarnings()
Determine if there is at least one warning in this collection.
|
boolean |
isEmpty()
Determine if this collection is empty.
|
int |
size()
Get the number of problems that are in this collection
|
addError, addError, addError, addError, addError, addError, addError, addError, addInfo, addInfo, addInfo, addInfo, addInfo, addInfo, addInfo, addInfo, addWarning, addWarning, addWarning, addWarning, addWarning, addWarning, addWarning, addWarning, errorCount, infoCount, iterator, logLevelFor, problemCount, toString, warningCount, writeTo, writeTopublic boolean hasErrors()
ProblemshasErrors in interface ProblemshasErrors in class AbstractProblemspublic boolean hasProblems()
ProblemshasProblems in interface ProblemshasProblems in class AbstractProblemsProblems.isEmpty(),
Problems.size()public boolean hasInfo()
ProblemshasInfo in interface ProblemshasInfo in class AbstractProblemspublic boolean hasWarnings()
ProblemshasWarnings in interface ProblemshasWarnings in class AbstractProblemspublic boolean isEmpty()
ProblemsisEmpty in interface ProblemsisEmpty in class AbstractProblemsProblems.hasProblems(),
Problems.size()public int size()
Problemssize in interface Problemssize in class AbstractProblemsProblems.hasProblems(),
Problems.isEmpty()protected void addProblem(Problem problem)
addProblem in class AbstractProblemspublic void addAll(Iterable<Problem> problems)
Problemsproblems - the problems to add to this list; this method does nothing if null or emptyprotected List<Problem> getProblems()
getProblems in class AbstractProblemsCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.