Class LoaderEnvironment<T extends Loaded>

java.lang.Object
dev.jaxydog.lodestone.impl.LoaderEnvironment<T>
Type Parameters:
T - The environment's interface.

public final class LoaderEnvironment<T extends Loaded> extends Object
A possible loader environment.
Since:
1.0.0
  • Constructor Details

  • Method Details

    • getInterface

      public Class<? extends T> getInterface()
      Returns the associated Loaded interface.
      Returns:
      The associated Loaded interface.
      Since:
      1.0.0
    • isBundled

      public boolean isBundled()
      Returns whether the associated Loaded interface is bundled with Lodestone.
      Returns:
      Whether the associated Loaded interface is bundled with Lodestone.
      Since:
      1.3.0
    • loadValue

      public void loadValue(T value)
      Loads the given value.
      Parameters:
      value - The value to load.
      Since:
      1.0.0