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
  • Method Details

    • make

      @CheckForNull <R> BuildReference.Holder<R> make(@NonNull R referent)
      Constructs a single build reference.
      Type Parameters:
      R - the type of thing (generally Run)
      Parameters:
      referent - the thing to load
      Returns:
      a reference, or null to consult the next factory