jenkinsci / jenkinsci/java-client-api

Refactor: JenkinsServer runs the risk of being a God Class

Open
#300 1 comment 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
913
Forks
466
PR merge metrics
No merged PRs in 30d

Description

The JenkinsServer class is pretty large already, and is growing with every new feature.
In the spirit of single-principle responsibility, would it be more scalable going forward grouping related methods i.e. all job accessor/mutators, all view accessor/mutators methods into their own manager classes, meaning that the JenkinServer has methods to retrieve these managers to call existing methods on, rather than calling existing methods directly on the JenkinsServer class?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.