public interface Validator<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
Modifier and Type | Method and Description |
---|---|
@NotNull java.lang.String |
getKey()
Get a Key that uniquely identifies this Validator.
|
boolean |
isDefaultEnabled()
Get whether this Validator should be enabled per default.
|
boolean |
isEnabled()
Get whether this Validator is enabled.
|
void |
setEnabled(boolean enabled)
Set whether this Validator should be enabled.
|
@NotNull @NotNull java.lang.String getKey()
void setEnabled(boolean enabled)
enabled
- true
if this validator should be enabled,
otherwise false
boolean isEnabled()
boolean isDefaultEnabled()