Package dev.jaxydog.astral.register
Annotation Interface IgnoreRegistration
Marks a field as intentionally ignored during the automatic registration process.
By default, all environments are ignored. The ignored environments can be configured via the annotation's arguments.
- Since:
- 2.0.0
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanConfigures whether registration within the client environment should be ignored.booleanConfigures whether registration within the common environment should be ignored.booleanConfigures whether registration within the data generation environment should be ignored.booleanConfigures whether registration within the server environment should be ignored.
-
Element Details
-
common
boolean commonConfigures whether registration within the common environment should be ignored.Note that this is distinctly different from
client()andserver().This field is
trueby default.- Returns:
- Whether the common environment is ignored.
- Since:
- 2.0.0
- Default:
true
-
client
boolean clientConfigures whether registration within the client environment should be ignored.This field is
trueby default.- Returns:
- Whether the client environment is ignored.
- Since:
- 2.0.0
- Default:
true
-
server
boolean serverConfigures whether registration within the server environment should be ignored.This field is
trueby default.- Returns:
- Whether the server environment is ignored.
- Since:
- 2.0.0
- Default:
true
-
generator
boolean generatorConfigures whether registration within the data generation environment should be ignored.This field is
trueby default.- Returns:
- Whether the generation environment is ignored.
- Since:
- 2.0.0
- Default:
true
-