Package jenkins.model.lazy
Class BuildReference<R>
java.lang.Object
jenkins.model.lazy.BuildReference<R>
Reference (by default a
SoftReference
) to a build object.
To be able to re-retrieve the referent in case it is lost, this class
remembers its ID (the job name is provided by the context because a BuildReference
belongs to one and only AbstractLazyLoadRunMap
.)
We use this ID for equality/hashCode so that we can have a collection of BuildReference
and find things in it.
- Since:
- 1.485 (but as of 1.548 not a
SoftReference
) - Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Default factory if none other are installed.static interface
An abstraction ofReference
.static interface
Extensible factory for creating build references. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
BuildReference
-
-
Method Details