Bundle Builder
interface BundleBuilder
Entry 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());
}
}Content copied to clipboard