Package org.apache.airflow.sdk
Interface BundleBuilder
-
- All Implemented Interfaces:
public interface BundleBuilderEntry point for declaring the Dags that this bundle contains.
Implement this interface to create a Dag bundle to be served by Server.
public class MyBundleBuilder implements BundleBuilder { @Override public Iterable<Dag> getDags() { return List.of(MyDagBuilder.build()); } public static void main(String[] args) { Server.create(args).serve(new MyBundleBuilder().build()); } }