Class CopperRegistrations


  • public class CopperRegistrations
    extends Object
    Ensure all plugin values used by Copper are registered into the IRegistry.
    • 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 make setupRegistryForTests(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.