Branch: refs/heads/deconstructing-AbstractProject
Home: https://github.com/jenkinsci/jenkins
Commit: b1acf9c47cebc93d4a2aef5f891b79e65b64b811
https://github.com/jenkinsci/jenkins/commit/b1acf9c47cebc93d4a2aef5f891b79e65b64b811
Author: Jesse Glick <[email protected]>
Date: 2014-03-04 (Tue, 04 Mar 2014)
Changed paths:
M core/src/main/java/hudson/model/AbstractProject.java
Log Message:
-----------
Forgot to call LazyBuildMixIn.onLoad.
Commit: 4c3344bfd19607bb3a412e2023c91179872af10d
https://github.com/jenkinsci/jenkins/commit/4c3344bfd19607bb3a412e2023c91179872af10d
Author: Jesse Glick <[email protected]>
Date: 2014-03-04 (Tue, 04 Mar 2014)
Changed paths:
M core/src/main/java/hudson/model/AbstractProject.java
M core/src/main/java/jenkins/model/lazy/LazyBuildMixIn.java
Log Message:
-----------
Introduced LazyLoadingJob marker interface.
1. ItemListenerImpl needs to know which items have a RunMap on which it can
call updateBaseDir.
Using reflection sort of worked for this purpose, but was messy.
2. onLoad needs to get the RunMap from a peer of the owning job.
Reflectively calling _getRuns on the peer did not work since it may not yet
have had a base dir set.
So we need a way of finding the actual mixin (or at least the RunMap) of a
given job.
This is not pretty but seems preferable to injecting something into the type
hierarchy between AbstractProject and Job.
Compare:
https://github.com/jenkinsci/jenkins/compare/fad45aeb462d...4c3344bfd196
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.