Package net.fortuna.ical4j.validate
Class ValidationResult
- java.lang.Object
-
- net.fortuna.ical4j.validate.ValidationResult
-
public final class ValidationResult extends Object
Encapsulates the result of applying validation rules to iCalendar content.
-
-
Field Summary
Fields Modifier and Type Field Description static ValidationResult
EMPTY
-
Constructor Summary
Constructors Constructor Description ValidationResult(Collection<ValidationEntry> entries)
ValidationResult(ValidationEntry... entries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Set<ValidationEntry>
getEntries()
boolean
hasErrors()
int
hashCode()
ValidationResult
merge(ValidationResult result)
String
toString()
-
-
-
Field Detail
-
EMPTY
public static final ValidationResult EMPTY
-
-
Constructor Detail
-
ValidationResult
public ValidationResult(ValidationEntry... entries)
-
ValidationResult
public ValidationResult(Collection<ValidationEntry> entries)
-
-
Method Detail
-
getEntries
public Set<ValidationEntry> getEntries()
-
hasErrors
public boolean hasErrors()
-
merge
public ValidationResult merge(ValidationResult result)
-
-