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
Nested ClassesModifier and TypeClassDescriptionstatic final classDefault factory if none other are installed.static interfaceAn abstraction ofReference.static interfaceExtensible factory for creating build references. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BuildReference
-
-
Method Details