jenkinsci / jenkinsci/java-client-api

Refactor: JenkinsServer runs the risk of being a God Class

Aperta
#300 1 commento 2 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Java
Stelle
913
Fork
466
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.