public class MetadataProviderFactory extends Object
Modifier and Type | Method and Description |
---|---|
static MetadataProvider |
emptyMetadataProvider() |
static MetadataProvider |
minimalMetadataProviderForBuild(BuildId buildId,
String username,
String repository,
String scheduleType,
String reSessionLabel,
String tenantId,
String auxiliaryBuildTag,
String projectPrefix,
ExecutionEnvironment executionEnvironment) |
static MetadataProvider |
wrapForRuleWithWorkerRequirements(MetadataProvider metadataProvider,
java.util.function.Supplier<com.facebook.buck.remoteexecution.proto.WorkerRequirements> requirementsSupplier)
Wraps the argument MetadataProvider with worker requirements info
|
static MetadataProvider |
wrapWithTraceInfo(MetadataProvider metadataProvider,
TraceInfoProvider traceInfoProvider)
Wraps the argument MetadataProvider return value with info about tracing.
|
public static MetadataProvider emptyMetadataProvider()
public static MetadataProvider minimalMetadataProviderForBuild(BuildId buildId, String username, String repository, String scheduleType, String reSessionLabel, String tenantId, String auxiliaryBuildTag, String projectPrefix, ExecutionEnvironment executionEnvironment)
public static MetadataProvider wrapWithTraceInfo(MetadataProvider metadataProvider, TraceInfoProvider traceInfoProvider)
public static MetadataProvider wrapForRuleWithWorkerRequirements(MetadataProvider metadataProvider, java.util.function.Supplier<com.facebook.buck.remoteexecution.proto.WorkerRequirements> requirementsSupplier)