Package owl.run
Interface Environment
-
public interface Environment
The environment makes global configuration available to all parts of the pipeline. For example, it provides anfactory 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 configuredFactorySupplier
.boolean
isShutdown()
Whether the computation has finished.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 configuredFactorySupplier
.
-
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.
-
-