Package com.activeviam.copper
Class CopperRegistrations
- java.lang.Object
-
- com.activeviam.copper.CopperRegistrations
-
-
Field Summary
Fields Modifier and Type Field Description static Set<Class<?>>REGISTRY_SETUP_WITH_CLASSESIndicates if the registry has been set up with the given classes.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidregisterCopperPluginValues()Register 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 Detail
-
REGISTRY_SETUP_WITH_CLASSES
public static final Set<Class<?>> 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 Detail
-
setupRegistryForTests
public static void setupRegistryForTests(Class<?>... classes)
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.
-
-