org.jboss.dna.common.collection
Interface Problems

All Superinterfaces:
Iterable<Problem>
All Known Implementing Classes:
AbstractProblems, SimpleProblems, ThreadSafeProblems

public interface Problems
extends Iterable<Problem>

Author:
John Verhaeg

Method Summary
 void addError(I18n message, Object... params)
           
 void addError(I18n message, String resource, String location, Object... params)
           
 void addError(int code, I18n message, Object... params)
           
 void addError(int code, I18n message, String resource, String location, Object... params)
           
 void addError(Throwable throwable, I18n message, Object... params)
           
 void addError(Throwable throwable, I18n message, String resource, String location, Object... params)
           
 void addError(Throwable throwable, int code, I18n message, Object... params)
           
 void addError(Throwable throwable, int code, I18n message, String resource, String location, Object... params)
           
 void addInfo(I18n message, Object... params)
           
 void addInfo(I18n message, String resource, String location, Object... params)
           
 void addInfo(int code, I18n message, Object... params)
           
 void addInfo(int code, I18n message, String resource, String location, Object... params)
           
 void addInfo(Throwable throwable, I18n message, Object... params)
           
 void addInfo(Throwable throwable, I18n message, String resource, String location, Object... params)
           
 void addInfo(Throwable throwable, int code, I18n message, Object... params)
           
 void addInfo(Throwable throwable, int code, I18n message, String resource, String location, Object... params)
           
 void addWarning(I18n message, Object... params)
           
 void addWarning(I18n message, String resource, String location, Object... params)
           
 void addWarning(int code, I18n message, Object... params)
           
 void addWarning(int code, I18n message, String resource, String location, Object... params)
           
 void addWarning(Throwable throwable, I18n message, Object... params)
           
 void addWarning(Throwable throwable, I18n message, String resource, String location, Object... params)
           
 void addWarning(Throwable throwable, int code, I18n message, Object... params)
           
 void addWarning(Throwable throwable, int code, I18n message, String resource, String location, Object... params)
           
 boolean hasErrors()
           
 boolean hasInfo()
           
 boolean hasProblems()
           
 boolean hasWarnings()
           
 boolean isEmpty()
           
 Iterator<Problem> iterator()
          
 int size()
           
 

Method Detail

addError

void addError(I18n message,
              Object... params)

addError

void addError(Throwable throwable,
              I18n message,
              Object... params)

addError

void addError(I18n message,
              String resource,
              String location,
              Object... params)

addError

void addError(Throwable throwable,
              I18n message,
              String resource,
              String location,
              Object... params)

addError

void addError(int code,
              I18n message,
              Object... params)

addError

void addError(Throwable throwable,
              int code,
              I18n message,
              Object... params)

addError

void addError(int code,
              I18n message,
              String resource,
              String location,
              Object... params)

addError

void addError(Throwable throwable,
              int code,
              I18n message,
              String resource,
              String location,
              Object... params)

addWarning

void addWarning(I18n message,
                Object... params)

addWarning

void addWarning(Throwable throwable,
                I18n message,
                Object... params)

addWarning

void addWarning(I18n message,
                String resource,
                String location,
                Object... params)

addWarning

void addWarning(Throwable throwable,
                I18n message,
                String resource,
                String location,
                Object... params)

addWarning

void addWarning(int code,
                I18n message,
                Object... params)

addWarning

void addWarning(Throwable throwable,
                int code,
                I18n message,
                Object... params)

addWarning

void addWarning(int code,
                I18n message,
                String resource,
                String location,
                Object... params)

addWarning

void addWarning(Throwable throwable,
                int code,
                I18n message,
                String resource,
                String location,
                Object... params)

addInfo

void addInfo(I18n message,
             Object... params)

addInfo

void addInfo(Throwable throwable,
             I18n message,
             Object... params)

addInfo

void addInfo(I18n message,
             String resource,
             String location,
             Object... params)

addInfo

void addInfo(Throwable throwable,
             I18n message,
             String resource,
             String location,
             Object... params)

addInfo

void addInfo(int code,
             I18n message,
             Object... params)

addInfo

void addInfo(Throwable throwable,
             int code,
             I18n message,
             Object... params)

addInfo

void addInfo(int code,
             I18n message,
             String resource,
             String location,
             Object... params)

addInfo

void addInfo(Throwable throwable,
             int code,
             I18n message,
             String resource,
             String location,
             Object... params)

hasProblems

boolean hasProblems()

hasErrors

boolean hasErrors()

hasWarnings

boolean hasWarnings()

hasInfo

boolean hasInfo()

isEmpty

boolean isEmpty()

size

int size()

iterator

Iterator<Problem> iterator()

Specified by:
iterator in interface Iterable<Problem>
See Also:
Iterable.iterator()


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