Interface OutputProvider
- All Known Implementing Classes:
BucketProvider, ConsoleProvider
public interface OutputProvider
An output as
ServiceLoader finds it: the jar of an output names its provider in
META-INF/services/io.kubfly.sdk.pipeline.OutputProvider; the PipelineCollector asks every provider
on the class path whether its output is on, and makes those that are.-
Method Summary
-
Method Details
-
enabled
boolean enabled()Whether the output is on by its configuration (KUBFLY_OUTPUT_<OUTPUT>): cheap, nothing is built.- Returns:
trueto make it
-
create
Makes the output.- Parameters:
pipeline- the pipeline: its settings and the registries of the process- Returns:
- the output, its thread started
- Throws:
IllegalStateException- if the output is on but cannot work: the application does not start
-