jason810496 opened a new pull request, #74701:
URL: https://github.com/apache/airflow/pull/74701
## Why
The Java SDK guide started from stub tasks of a Python Dag and did not cover
conditions, switches or `TriggerDagRun`, and the README mixed user docs with
the contributor and release guide.
## What
- `java.rst`: rewrite it in the same order as the TypeScript guide.
- Quick start with a Dag defined in Java, then every Dag-definition
feature, annotation style first and interface style second.
- New sections for `@Airflow.If` / `dag.If`, `@Airflow.Switch` /
`dag.Switch` and `TriggerDagRun`.
- Then stub TaskHandlers, with a table of how arguments bind by position
and by name.
- Tables for the `Client` methods and the logging integrations.
- `java-sdk/README.md`: keep installation, a quick start, links to the guide
and the compatibility matrix.
- `java-sdk/DEVELOPMENT.md`: new, holding the build, release and
contributing content moved from the README. References to it are updated.
- `java-sdk/example/README.md`: new, listing the example Dags under "Dag
definition" and "Python Dag with stub TaskHandler".
- `java-sdk/sdk/module.md` (API reference landing page): add a quick start.
---
##### Was generative AI tooling used to co-author this PR?
- [x] Yes, with help of Claude Code Opus 5.5 following [the
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]