|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.common.collection.AbstractProblems
org.modeshape.common.collection.ThreadSafeProblems
@ThreadSafe public class ThreadSafeProblems

A thread-safe Problems collection. The problems will be returned in the order in which they were
encountered.
| Constructor Summary | |
|---|---|
ThreadSafeProblems()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.modeshape.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, iterator |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadSafeProblems()
| Method Detail |
|---|
public boolean hasErrors()
hasErrors in interface ProblemshasErrors in class AbstractProblemsAbstractProblems.hasErrors()public boolean hasProblems()
hasProblems in interface ProblemshasProblems in class AbstractProblemsAbstractProblems.hasProblems()public boolean hasInfo()
hasInfo in interface ProblemshasInfo in class AbstractProblemsAbstractProblems.hasInfo()public boolean hasWarnings()
hasWarnings in interface ProblemshasWarnings in class AbstractProblemsAbstractProblems.hasWarnings()public boolean isEmpty()
isEmpty in interface ProblemsisEmpty in class AbstractProblemsAbstractProblems.isEmpty()public int size()
size in interface Problemssize in class AbstractProblemsAbstractProblems.size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||