public class InferPlatformFactory extends Object
InferPlatform
.Constructor and Description |
---|
InferPlatformFactory() |
Modifier and Type | Method and Description |
---|---|
static Optional<UnresolvedInferPlatform> |
getBasedOnConfigAndPath(BuckConfig buckConfig,
ExecutableFinder executableFinder)
Tries to construct
InferPlatform based on buck config or otherwise env vars. |
public static Optional<UnresolvedInferPlatform> getBasedOnConfigAndPath(BuckConfig buckConfig, ExecutableFinder executableFinder)
InferPlatform
based on buck config or otherwise env vars.