Files
airflow/java-sdk/processor
Jason(Zhe-You) Liu 21bbf2f40a Java SDK: Generate Dag and task configuration from the serialization schema (#73595)
* Java SDK: Describe native Java Dags without reference to Python

A Dag authored entirely in Java has no Python in the picture, so teaching
its edge verbs as "Java's spelling of >> and <<" asks the reader to know a
language the feature does not involve. The mixed-language surface keeps its
Python references, because there the Python Dag file is part of what the
reader has to understand.

* Java SDK: Generate Dag and task configuration from the serialization schema

A Java-authored Dag could carry no schedule, retries, tags or any other
Airflow setting, so it could be defined but not configured. Hand-listing
those settings in Java would drift from the Python semantics they mirror,
so they are recorded and validated against Airflow's own Dag serialization
schema instead, and take effect once the runtime answers parse requests.

The `Builder` annotations are generated from a copy of that schema vendored
at java-sdk/sdk/schema/dag-schema.json, so a source release builds without
the monorepo; a prek hook keeps the copy in sync.
2026-09-30 15:00:35 +08:00
..