Skip to content

[Improvement-17855] Supports the custom and built-in variables for java task#17860

Merged
ruanwenjun merged 3 commits intoapache:devfrom
Mrhs121:improvement-17855
Jan 8, 2026
Merged

[Improvement-17855] Supports the custom and built-in variables for java task#17860
ruanwenjun merged 3 commits intoapache:devfrom
Mrhs121:improvement-17855

Conversation

@Mrhs121
Copy link
Contributor

@Mrhs121 Mrhs121 commented Jan 7, 2026

Purpose of the pull request

close #17855

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(or)

Pull Request Notice

Pull Request Notice

If your pull request contains incompatible change, you should also add it to docs/docs/en/guide/upgrade/incompatible.md

@SbloodyS SbloodyS added the improvement make more easy to user or prompt friendly label Jan 7, 2026
@SbloodyS SbloodyS added this to the 3.4.1 milestone Jan 7, 2026
Copy link
Member

@SbloodyS SbloodyS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add this to the docs. @Mrhs121

@Mrhs121
Copy link
Contributor Author

Mrhs121 commented Jan 8, 2026

Please add this to the docs. @Mrhs121

Done

@SbloodyS SbloodyS requested a review from ruanwenjun January 8, 2026 10:29
Copy link
Member

@SbloodyS SbloodyS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 8, 2026

Copy link
Member

@ruanwenjun ruanwenjun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, please use a more readable method name next time.

return JAVA_HOME_VAR + File.separator + "bin" + File.separator;
}

private String parseParameter(String script) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private String parseParameter(String script) {
private String assemblyParameterPlaceholders(String script) {

@ruanwenjun ruanwenjun merged commit 6823d26 into apache:dev Jan 8, 2026
74 of 75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend document improvement make more easy to user or prompt friendly test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement][dolphinscheduler-task-java] Supports the custom and built-in variables for java task

3 participants