org.eclipse.handly.util

## Interface IStatusAcceptor

- All Superinterfaces:
    java.util.function.Consumer<org.eclipse.core.runtime.IStatus>

      public interface IStatusAcceptor
      extends java.util.function.Consumer<org.eclipse.core.runtime.IStatus>

  Accepts `IStatus` objects.
  Since:
    1.1

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `accept(org.eclipse.core.runtime.IStatus status)` Accepts the given status object.
    `default void` | `done()` Informs this acceptor that there are no more status objects to accept.

    - ### Methods inherited from interface java.util.function.Consumer

      `andThen`

- - ### Method Detail

    - #### accept

          void accept(org.eclipse.core.runtime.IStatus status)

      Accepts the given status object.
      Specified by:
        `accept` in interface `java.util.function.Consumer<org.eclipse.core.runtime.IStatus>`
      Parameters:
        `status` - not `null`

    - #### done

          default void done()

      Informs this acceptor that there are no more status objects to accept.

      Default implementation does nothing.

Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0