public interface IErrorList extends Iterable<IError>, IHasErrorLevels, IFieldErrorList, Serializable
IErrorList.| Modifier and Type | Method and Description |
|---|---|
List<IError> |
getAllItems() |
List<String> |
getAllItemTexts() |
int |
getItemCount() |
IErrorList |
getListWithoutField() |
boolean |
hasErrorsOrWarnings() |
boolean |
isEmpty() |
forEach, iterator, spliteratorcontainsAtLeastOneError, containsAtLeastOneFailure, containsAtLeastOneSuccess, containsNoError, containsNoFailure, containsNoSuccess, containsOnlyError, containsOnlyFailure, containsOnlySuccess, getErrorCount, getFailureCount, getMostSevereErrorLevel, getSuccessCountgetAllItemTextsOfField, getAllItemTextsOfFields, getAllItemTextsOfFieldsRegExp, getAllItemTextsOfFieldsStartingWith, getListOfField, getListOfFields, getListOfFieldsRegExp, getListOfFieldsStartingWith, getStructuredByFieldName, getStructuredByID, hasEntryForField, hasEntryForField, hasEntryForFields, hasNoEntryForField, hasNoEntryForFieldsboolean isEmpty()
true if this list has no items, false if
at least one item is contained@Nonnegative int getItemCount()
boolean hasErrorsOrWarnings()
true if at least 1 item of level warning or at least 1
item of level error is contained.@Nonnull @ReturnsMutableCopy List<IError> getAllItems()
null
.@Nonnull @ReturnsMutableCopy List<String> getAllItemTexts()
IError objects. Never
null.@Nonnull @ReturnsMutableCopy IErrorList getListWithoutField()
Copyright © 2014–2016 Philip Helger. All rights reserved.