Package jenkins.model.lazy
Interface BuildReference.HolderFactory
-
- All Superinterfaces:
ExtensionPoint
- All Known Implementing Classes:
BuildReference.DefaultHolderFactory
- Enclosing class:
- BuildReference<R>
public static interface BuildReference.HolderFactory extends ExtensionPoint
Extensible factory for creating build references.- Since:
- 1.548
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <R> BuildReference.Holder<R>
make(R referent)
Constructs a single build reference.
-
-
-
Method Detail
-
make
@CheckForNull <R> BuildReference.Holder<R> make(@NonNull R referent)
Constructs a single build reference.- Type Parameters:
R
- the type of thing (generallyRun
)- Parameters:
referent
- the thing to load- Returns:
- a reference, or null to consult the next factory
-
-