Interface EnvironmentListener

All Superinterfaces:
EnvironmentLoadedListener, EnvironmentUnloadedListener, EventListener

public interface EnvironmentListener extends EnvironmentLoadedListener, EnvironmentUnloadedListener
This listener provides callbacks for different points over the life cycle of an IEnvironment (loaded/unloaded/cleared/initialized).
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    cleared(Environment environment)
    This method was called after the environment was cleared.
    default void
    initialized(Environment environment)
    This method was called after the environment was initialized.
    default void
    loaded(Environment environment)
    This method is called after the environment was loaded.
    default void
    unloaded(Environment environment)
    This method is called after the environment was unloaded.
  • Method Details

    • cleared

      default void cleared(Environment environment)
      This method was called after the environment was cleared.
      Parameters:
      environment - The environment that was cleared.
    • initialized

      default void initialized(Environment environment)
      This method was called after the environment was initialized.
      Parameters:
      environment - The environment that was initialized.
    • loaded

      default void loaded(Environment environment)
      Description copied from interface: EnvironmentLoadedListener
      This method is called after the environment was loaded.
      Specified by:
      loaded in interface EnvironmentLoadedListener
      Parameters:
      environment - The environment that was loaded.
    • unloaded

      default void unloaded(Environment environment)
      Description copied from interface: EnvironmentUnloadedListener
      This method is called after the environment was unloaded.
      Specified by:
      unloaded in interface EnvironmentUnloadedListener
      Parameters:
      environment - The environment that was loaded.