Package owl.run
Interface Environment
-
public interface EnvironmentThe environment makes global configuration available to all parts of the pipeline. For example, it provides anfactory supplierthat is supposed to be used by all implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanannotations()Whether additional information (like semantic state labels) should be included.FactorySupplierfactorySupplier()Returns the configuredFactorySupplier.booleanisShutdown()Whether the computation has finished.voidshutdown()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.
-
-