Package org.moddingx.libx.registration
Class RegistrationBuilder
java.lang.Object
org.moddingx.libx.registration.RegistrationBuilder
A registration builder is used to configure the LibX registration system and adjust the behaviour of it.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
void
condition
(RegistryCondition condition) Adds a newRegistryCondition
that must match each object that is passed to the system in order to be registered.void
transformer
(RegistryTransformer transformer) Adds a newRegistryTransformer
that can add additional objects that are registered with each object registered through the LibX registration system.
-
Constructor Details
-
RegistrationBuilder
public RegistrationBuilder()
-
-
Method Details
-
condition
Adds a newRegistryCondition
that must match each object that is passed to the system in order to be registered. -
transformer
Adds a newRegistryTransformer
that can add additional objects that are registered with each object registered through the LibX registration system. -
build
-