Skip to content

Introduce service executors for CPD, PMD executors #206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 23, 2025

Conversation

slawekjaranowski
Copy link
Member

Standard mojos and reports have different parent classes, so we need to extract tasks which both will execute.

We cannot use one abstract for both.

Standard mojos and reports have different parent classes,
so we need to extract tasks which both will execute.

We cannot use one abstract for both.
@slawekjaranowski slawekjaranowski self-assigned this May 22, 2025
@adangel adangel changed the title Introduce service executors for Cpd, Pdm executors Introduce service executors for CPD, PMD executors May 23, 2025
Copy link
Member

@adangel adangel left a comment

Choose a reason for hiding this comment

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

LGTM.

I wonder, whether we could merge CpdExecutor + CpdServiceExecutor and PmdExecutor + PmdServiceExecutor and Executor + ServiceExecutor. Having both an "executor" and a "service executor" sounds unnecessary to me...

Co-authored-by: Andreas Dangel <[email protected]>
@slawekjaranowski
Copy link
Member Author

LGTM.

I wonder, whether we could merge CpdExecutor + CpdServiceExecutor and PmdExecutor + PmdServiceExecutor and Executor + ServiceExecutor. Having both an "executor" and a "service executor" sounds unnecessary to me...

CpdExecutor/PmdExecutor are use in fokr mode with main static method .... but ServiceExecutor I use a constructor for inject needed components.

@slawekjaranowski slawekjaranowski merged commit 6cd4f55 into apache:master May 23, 2025
20 checks passed
@slawekjaranowski slawekjaranowski deleted the service-executor branch May 23, 2025 20:57
@github-actions github-actions bot added this to the 3.26.1 milestone May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants