Interface Reloadable

All Known Subinterfaces:
Reloadable.ReloadBuilder<B>

public interface Reloadable
This mixin might be implemented by a component in order to provide reload facilities.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The Interface ReloadBuilder.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Reloads the (state of the) component.
    default void
    Reloads the component by calling reload() without you to require catching a IOException.
  • Method Details

    • reload

      void reload() throws IOException
      Reloads the (state of the) component.
      Throws:
      IOException - in case reloading failed as of some reason.
    • reloadUnchecked

      default void reloadUnchecked()
      Reloads the component by calling reload() without you to require catching a IOException.
      Throws:
      org.refcodes.exception.IORuntimeException - encapsulates the cause and is thrown upon encountering a IOException exception