Class CopperRegistrations

java.lang.Object
com.activeviam.copper.CopperRegistrations

public class CopperRegistrations extends Object
Ensure all plugin values used by Copper are registered into the IRegistry.
  • Field Details

    • 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 make setupRegistryForTests(Class...) NOOP on consecutive calls.
  • Method Details

    • 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.