Interface Reloadable.ReloadBuilder<B extends Reloadable.ReloadBuilder<B>>

  • Type Parameters:
    B - the generic type
    All Superinterfaces:
    Reloadable
    Enclosing interface:
    Reloadable

    public static interface Reloadable.ReloadBuilder<B extends Reloadable.ReloadBuilder<B>>
    extends Reloadable
    The Interface ReloadBuilder.
    • Method Detail

      • withReload

        default B withReload()
                      throws IOException
        With reload as of Reloadable.reload().
        Returns:
        The implementing instance as of the Builder-Pattern.
        Throws:
        IOException - in case reloading failed as of some reason.
      • withReloadUnchecked

        default B withReloadUnchecked()
        Reloads the component by calling withReload() without you to require catching a IOException.
        Returns:
        The instance to be returned on which to apply succeeding builder operations.
        Throws:
        org.refcodes.exception.IORuntimeException - encapsulates the cause and is thrown upon encountering a IOException exception