Package org.moddingx.libx.registration
Interface RegistryCondition
public interface RegistryCondition
A registry condition is used by the LibX registration system to prevent things passed to the
register methods from being registered.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
shouldRegister
(RegistrationContext ctx, Object value) Tests whether a given object should be registered.
-
Method Details
-
shouldRegister
Tests whether a given object should be registered. In order for an object to be registered, all conditions must returntrue
.
-