Package owl.run

## Interface Environment

-     public interface Environment

  The environment makes global configuration available to all parts of the pipeline. For example, it provides an `factory supplier` that is supposed to be used by all implementations.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `annotations()` | Whether additional information (like semantic state labels) should be included.
    `FactorySupplier` | `factorySupplier()` | Returns the configured `FactorySupplier`.
    `boolean` | `isShutdown()` | Whether the computation has finished.
    `boolean` | `parallel()` | Whether computations should be parallel.
    `void` | `shutdown()` | Called exactly one by the runner, indicating that the computation has ended due to, e.g., input exhaustion or an error.

- - ### Method Detail

    - #### annotations

          boolean annotations()

      Whether additional information (like semantic state labels) should be included.

    - #### factorySupplier

          FactorySupplier factorySupplier()

      Returns the configured `FactorySupplier`.

    - #### parallel

          boolean parallel()

      Whether computations should be parallel.

    - #### shutdown

          void shutdown()

      Called exactly one by the runner, indicating that the computation has ended due to, e.g., input exhaustion or an error.

    - #### isShutdown

          boolean isShutdown()

      Whether the computation has finished.