Package com.activeviam.copper
Class CopperRegistrations
java.lang.Object
com.activeviam.copper.CopperRegistrations
Ensure all plugin values used by Copper are registered into the
IRegistry.-
Field Summary
FieldsModifier and TypeFieldDescriptionIndicates if the registry has been set up with the given classes. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidRegister the various values used by Copper in their respective parent plugin.static voidsetupRegistryForTests(Class<?>... classes) Set up the registry for tests if it is not done yet.
-
Field Details
-
REGISTRY_SETUP_WITH_CLASSES
Indicates if the registry has been set up with the given classes. This is done to makesetupRegistryForTests(Class...)NOOP on consecutive calls.
-
-
Method Details
-
setupRegistryForTests
Set up the registry for tests if it is not done yet.- Parameters:
classes- The classes to explicitly add into the registry.
-
registerCopperPluginValues
public static void registerCopperPluginValues()Register the various values used by Copper in their respective parent plugin.
-