|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.dna.common.collection.ImmutableProblems
@Immutable public class ImmutableProblems

An immutable wrapper for a mutable Problems.
| Constructor Summary | |
|---|---|
ImmutableProblems(Problems delegate)
|
|
| Method Summary | |
|---|---|
void |
addError(I18n message,
Object... params)
Add an error message with the parameters that should be used when localizing the message. |
void |
addError(I18n message,
String resource,
String location,
Object... params)
Add an error message with a description of the resource, its location, and the parameters that should be used when localizing the message |
void |
addError(int code,
I18n message,
Object... params)
Add an error message with the parameters that should be used when localizing the message. |
void |
addError(int code,
I18n message,
String resource,
String location,
Object... params)
Add an error message with a description of the resource, its location, and the parameters that should be used when localizing the message |
void |
addError(Throwable throwable,
I18n message,
Object... params)
Add an error exception and message with the parameters that should be used when localizing the message. |
void |
addError(Throwable throwable,
I18n message,
String resource,
String location,
Object... params)
Add an error exception and message with a description of the resource, its location, and the parameters that should be used when localizing the message |
void |
addError(Throwable throwable,
int code,
I18n message,
Object... params)
Add an error exception and message with the parameters that should be used when localizing the message. |
void |
addError(Throwable throwable,
int code,
I18n message,
String resource,
String location,
Object... params)
Add an error exception and message with a description of the resource, its location, and the parameters that should be used when localizing the message |
void |
addInfo(I18n message,
Object... params)
Add a informational message with the parameters that should be used when localizing the message. |
void |
addInfo(I18n message,
String resource,
String location,
Object... params)
Add an informational message with a description of the resource, its location, and the parameters that should be used when localizing the message |
void |
addInfo(int code,
I18n message,
Object... params)
Add a informational message with the parameters that should be used when localizing the message. |
void |
addInfo(int code,
I18n message,
String resource,
String location,
Object... params)
Add an informational message with a description of the resource, its location, and the parameters that should be used when localizing the message |
void |
addInfo(Throwable throwable,
I18n message,
Object... params)
Add an informational exception and message with the parameters that should be used when localizing the message. |
void |
addInfo(Throwable throwable,
I18n message,
String resource,
String location,
Object... params)
Add an informational exception and message with a description of the resource, its location, and the parameters that should be used when localizing the message |
void |
addInfo(Throwable throwable,
int code,
I18n message,
Object... params)
Add a informational exception and message with the parameters that should be used when localizing the message. |
void |
addInfo(Throwable throwable,
int code,
I18n message,
String resource,
String location,
Object... params)
Add an informational exception and message with a description of the resource, its location, and the parameters that should be used when localizing the message |
void |
addWarning(I18n message,
Object... params)
Add a warning message with the parameters that should be used when localizing the message. |
void |
addWarning(I18n message,
String resource,
String location,
Object... params)
Add a warning message with a description of the resource, its location, and the parameters that should be used when localizing the message |
void |
addWarning(int code,
I18n message,
Object... params)
Add a warning message with the parameters that should be used when localizing the message. |
void |
addWarning(int code,
I18n message,
String resource,
String location,
Object... params)
Add a warning message with a description of the resource, its location, and the parameters that should be used when localizing the message |
void |
addWarning(Throwable throwable,
I18n message,
Object... params)
Add a warning exception and message with the parameters that should be used when localizing the message. |
void |
addWarning(Throwable throwable,
I18n message,
String resource,
String location,
Object... params)
Add a warning exception and message with a description of the resource, its location, and the parameters that should be used when localizing the message |
void |
addWarning(Throwable throwable,
int code,
I18n message,
Object... params)
Add a warning exception and message with the parameters that should be used when localizing the message. |
void |
addWarning(Throwable throwable,
int code,
I18n message,
String resource,
String location,
Object... params)
Add a warning exception and message with a description of the resource, its location, and the parameters that should be used when localizing the message |
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. |
Iterator<Problem> |
iterator()
|
int |
size()
Get the number of problems that are in this collection |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImmutableProblems(Problems delegate)
| Method Detail |
|---|
public void addError(I18n message,
Object... params)
addError in interface Problemsmessage - the internationalized message describing the problemparams - the values for the parameters in the messageProblems.addError(org.jboss.dna.common.i18n.I18n, java.lang.Object[])
public void addError(I18n message,
String resource,
String location,
Object... params)
addError in interface Problemsmessage - the internationalized message describing the problemresource - the description of the resource; may be nulllocation - the location of the resource; may be nullparams - the values for the parameters in the messageProblems.addError(org.jboss.dna.common.i18n.I18n, java.lang.String, java.lang.String,
java.lang.Object[])
public void addError(int code,
I18n message,
Object... params)
addError in interface Problemscode - the error codemessage - the internationalized message describing the problemparams - the values for the parameters in the messageProblems.addError(int, org.jboss.dna.common.i18n.I18n, java.lang.Object[])
public void addError(int code,
I18n message,
String resource,
String location,
Object... params)
addError in interface Problemscode - the error codemessage - the internationalized message describing the problemresource - the description of the resource; may be nulllocation - the location of the resource; may be nullparams - the values for the parameters in the messageProblems.addError(int, org.jboss.dna.common.i18n.I18n, java.lang.String,
java.lang.String, java.lang.Object[])
public void addError(Throwable throwable,
I18n message,
Object... params)
addError in interface Problemsthrowable - the exception that represents the error; may be nullmessage - the internationalized message describing the problemparams - the values for the parameters in the messageProblems.addError(java.lang.Throwable, org.jboss.dna.common.i18n.I18n,
java.lang.Object[])
public void addError(Throwable throwable,
I18n message,
String resource,
String location,
Object... params)
addError in interface Problemsthrowable - the exception that represents the error; may be nullmessage - the internationalized message describing the problemresource - the description of the resource; may be nulllocation - the location of the resource; may be nullparams - the values for the parameters in the messageProblems.addError(java.lang.Throwable, org.jboss.dna.common.i18n.I18n,
java.lang.String, java.lang.String, java.lang.Object[])
public void addError(Throwable throwable,
int code,
I18n message,
Object... params)
addError in interface Problemsthrowable - the exception that represents the error; may be nullcode - the error codemessage - the internationalized message describing the problemparams - the values for the parameters in the messageProblems.addError(java.lang.Throwable, int, org.jboss.dna.common.i18n.I18n,
java.lang.Object[])
public void addError(Throwable throwable,
int code,
I18n message,
String resource,
String location,
Object... params)
addError in interface Problemsthrowable - the exception that represents the error; may be nullcode - the error codemessage - the internationalized message describing the problemresource - the description of the resource; may be nulllocation - the location of the resource; may be nullparams - the values for the parameters in the messageProblems.addError(java.lang.Throwable, int, org.jboss.dna.common.i18n.I18n,
java.lang.String, java.lang.String, java.lang.Object[])
public void addInfo(I18n message,
Object... params)
addInfo in interface Problemsmessage - the internationalized message describing the problemparams - the values for the parameters in the messageProblems.addInfo(org.jboss.dna.common.i18n.I18n, java.lang.Object[])
public void addInfo(I18n message,
String resource,
String location,
Object... params)
addInfo in interface Problemsmessage - the internationalized message describing the problemresource - the description of the resource; may be nulllocation - the location of the resource; may be nullparams - the values for the parameters in the messageProblems.addInfo(org.jboss.dna.common.i18n.I18n, java.lang.String, java.lang.String,
java.lang.Object[])
public void addInfo(int code,
I18n message,
Object... params)
addInfo in interface Problemscode - the problem codemessage - the internationalized message describing the problemparams - the values for the parameters in the messageProblems.addInfo(int, org.jboss.dna.common.i18n.I18n, java.lang.Object[])
public void addInfo(int code,
I18n message,
String resource,
String location,
Object... params)
addInfo in interface Problemscode - the problem codemessage - the internationalized message describing the problemresource - the description of the resource; may be nulllocation - the location of the resource; may be nullparams - the values for the parameters in the messageProblems.addInfo(int, org.jboss.dna.common.i18n.I18n, java.lang.String,
java.lang.String, java.lang.Object[])
public void addInfo(Throwable throwable,
I18n message,
Object... params)
addInfo in interface Problemsthrowable - the exception that represents the warning; may be nullmessage - the internationalized message describing the problemparams - the values for the parameters in the messageProblems.addInfo(java.lang.Throwable, org.jboss.dna.common.i18n.I18n,
java.lang.Object[])
public void addInfo(Throwable throwable,
I18n message,
String resource,
String location,
Object... params)
addInfo in interface Problemsthrowable - the exception that represents the problem; may be nullmessage - the internationalized message describing the problemresource - the description of the resource; may be nulllocation - the location of the resource; may be nullparams - the values for the parameters in the messageProblems.addInfo(java.lang.Throwable, org.jboss.dna.common.i18n.I18n,
java.lang.String, java.lang.String, java.lang.Object[])
public void addInfo(Throwable throwable,
int code,
I18n message,
Object... params)
addInfo in interface Problemsthrowable - the exception that represents the warning; may be nullcode - the problem codemessage - the internationalized message describing the problemparams - the values for the parameters in the messageProblems.addInfo(java.lang.Throwable, int, org.jboss.dna.common.i18n.I18n,
java.lang.Object[])
public void addInfo(Throwable throwable,
int code,
I18n message,
String resource,
String location,
Object... params)
addInfo in interface Problemsthrowable - the exception that represents the problem; may be nullcode - the problem codemessage - the internationalized message describing the problemresource - the description of the resource; may be nulllocation - the location of the resource; may be nullparams - the values for the parameters in the messageProblems.addInfo(java.lang.Throwable, int, org.jboss.dna.common.i18n.I18n,
java.lang.String, java.lang.String, java.lang.Object[])
public void addWarning(I18n message,
Object... params)
addWarning in interface Problemsmessage - the internationalized message describing the problemparams - the values for the parameters in the messageProblems.addWarning(org.jboss.dna.common.i18n.I18n, java.lang.Object[])
public void addWarning(I18n message,
String resource,
String location,
Object... params)
addWarning in interface Problemsmessage - the internationalized message describing the problemresource - the description of the resource; may be nulllocation - the location of the resource; may be nullparams - the values for the parameters in the messageProblems.addWarning(org.jboss.dna.common.i18n.I18n, java.lang.String,
java.lang.String, java.lang.Object[])
public void addWarning(int code,
I18n message,
Object... params)
addWarning in interface Problemscode - the problem codemessage - the internationalized message describing the problemparams - the values for the parameters in the messageProblems.addWarning(int, org.jboss.dna.common.i18n.I18n, java.lang.Object[])
public void addWarning(int code,
I18n message,
String resource,
String location,
Object... params)
addWarning in interface Problemscode - the problem codemessage - the internationalized message describing the problemresource - the description of the resource; may be nulllocation - the location of the resource; may be nullparams - the values for the parameters in the messageProblems.addWarning(int, org.jboss.dna.common.i18n.I18n, java.lang.String,
java.lang.String, java.lang.Object[])
public void addWarning(Throwable throwable,
I18n message,
Object... params)
addWarning in interface Problemsthrowable - the exception that represents the error; may be nullmessage - the internationalized message describing the problemparams - the values for the parameters in the messageProblems.addWarning(java.lang.Throwable, org.jboss.dna.common.i18n.I18n,
java.lang.Object[])
public void addWarning(Throwable throwable,
I18n message,
String resource,
String location,
Object... params)
addWarning in interface Problemsthrowable - the exception that represents the warning; may be nullmessage - the internationalized message describing the problemresource - the description of the resource; may be nulllocation - the location of the resource; may be nullparams - the values for the parameters in the messageProblems.addWarning(java.lang.Throwable, org.jboss.dna.common.i18n.I18n,
java.lang.String, java.lang.String, java.lang.Object[])
public void addWarning(Throwable throwable,
int code,
I18n message,
Object... params)
addWarning in interface Problemsthrowable - the exception that represents the warning; may be nullcode - the problem codemessage - the internationalized message describing the problemparams - the values for the parameters in the messageProblems.addWarning(java.lang.Throwable, int, org.jboss.dna.common.i18n.I18n,
java.lang.Object[])
public void addWarning(Throwable throwable,
int code,
I18n message,
String resource,
String location,
Object... params)
addWarning in interface Problemsthrowable - the exception that represents the warning; may be nullcode - the problem codemessage - the internationalized message describing the problemresource - the description of the resource; may be nulllocation - the location of the resource; may be nullparams - the values for the parameters in the messageProblems.addWarning(java.lang.Throwable, int, org.jboss.dna.common.i18n.I18n,
java.lang.String, java.lang.String, java.lang.Object[])public boolean hasErrors()
hasErrors in interface ProblemsProblems.hasErrors()public boolean hasInfo()
hasInfo in interface ProblemsProblems.hasInfo()public boolean hasProblems()
hasProblems in interface ProblemsProblems.hasProblems()public boolean hasWarnings()
hasWarnings in interface ProblemsProblems.hasWarnings()public boolean isEmpty()
isEmpty in interface ProblemsProblems.isEmpty()public Iterator<Problem> iterator()
iterator in interface Iterable<Problem>iterator in interface ProblemsProblems.iterator()public int size()
size in interface ProblemsProblems.size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||