public interface ErrorCollector<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
collect(ValidationError<G,A,R> error)
Collect an error.
|
java.lang.Iterable<ValidationError<G,A,R>> |
getErrors()
Get all errors.
|
void collect(@NotNull ValidationError<G,A,R> error)
error
- Error to collect@NotNull java.lang.Iterable<ValidationError<G,A,R>> getErrors()