Class SettingsFactory

java.lang.Object
su.nightexpress.excellentclaims.core.settings.SettingsFactory

@NullMarked public final class SettingsFactory extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T extends su.nightexpress.excellentclaims.api.core.settings.ConfigurableSettings>
    T
    create(su.nightexpress.excellentclaims.api.core.NightModule module, su.nightexpress.excellentclaims.api.core.DependencyContainer container, Path filePath, Supplier<T> constructor)
    Creates, loads, registers, and attaches a settings object in one line.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • create

      public static <T extends su.nightexpress.excellentclaims.api.core.settings.ConfigurableSettings> T create(su.nightexpress.excellentclaims.api.core.NightModule module, su.nightexpress.excellentclaims.api.core.DependencyContainer container, Path filePath, Supplier<T> constructor)
      Creates, loads, registers, and attaches a settings object in one line.