public abstract class InferConfig extends Object implements ConfigView<BuckConfig>
Constructor and Description |
---|
InferConfig() |
Modifier and Type | Method and Description |
---|---|
Boolean |
executeRemotely() |
Optional<ToolProvider> |
getBinary() |
Optional<SourcePath> |
getConfigFile(TargetConfiguration targetConfiguration) |
abstract BuckConfig |
getDelegate() |
Optional<ToolProvider> |
getDist()
Depending on the type of dist (plain path vs target) either return a
ConstantToolProvider or InferDistFromTargetProvider with properly set up parse time
deps. |
String |
getDistBinary() |
com.google.common.collect.ImmutableList<String> |
getNullsafeArgs() |
Optional<SourcePath> |
getNullsafeThirdPartySignatures(TargetConfiguration targetConfiguration)
Directory with third party signatures for nullsafe.
|
Boolean |
getPrettyPrint() |
Optional<String> |
getVersion() |
static InferConfig |
of(BuckConfig delegate) |
public abstract BuckConfig getDelegate()
getDelegate
in interface ConfigView<BuckConfig>
public static InferConfig of(BuckConfig delegate)
@Value.Lazy public Optional<ToolProvider> getBinary()
@Value.Lazy public Optional<ToolProvider> getDist()
ConstantToolProvider
or InferDistFromTargetProvider
with properly set up parse time
deps.@Value.Lazy public String getDistBinary()
@Value.Lazy public Optional<SourcePath> getConfigFile(TargetConfiguration targetConfiguration)
@Value.Lazy public com.google.common.collect.ImmutableList<String> getNullsafeArgs()
@Value.Lazy public Optional<SourcePath> getNullsafeThirdPartySignatures(TargetConfiguration targetConfiguration)
@Value.Lazy public Boolean getPrettyPrint()
@Value.Lazy public Boolean executeRemotely()