Interface IStringSettingFactory<T extends ISetting>

All Superinterfaces:
IFactory<FactoryVoidInput,T>
All Known Implementing Classes:
SettingsFactories.AbstractStringSettingsFactory, SettingsFactories.BeekeeperCollectionSettingsFactory, SettingsFactories.BuilderModeSettingFactory, SettingsFactories.CrafterRecipeSettingFactory, SettingsFactories.GuardFollowModeSettingFactory, SettingsFactories.GuardPatrolModeSettingFactory, SettingsFactories.GuardTaskSettingFactory, SettingsFactories.StringSettingsFactory, SettingsFactories.StringWithDescSettingsFactory

public interface IStringSettingFactory<T extends ISetting> extends IFactory<FactoryVoidInput,T>
Interface for the enum settings factory which is responsible for creating and maintaining enum setting objects.
  • Method Details

    • getNewInstance

      @NotNull default T getNewInstance(@NotNull @NotNull IFactoryController factoryController, @NotNull @NotNull FactoryVoidInput token, @NotNull @NotNull Object... context)
      Description copied from interface: IFactory
      Method to get a new instance of the output given the input and additional context data.
      Specified by:
      getNewInstance in interface IFactory<FactoryVoidInput,T extends ISetting>
      Parameters:
      factoryController - The controller calling this factory method.
      token - The input to build a new output for.
      context - The context of the request.
      Returns:
      The new output instance for a given input.
    • getNewInstance

      @NotNull T getNewInstance(List<String> settings, int current)