public abstract class CliConfig extends Object implements ConfigView<BuckConfig>
Modifier and Type | Field and Description |
---|---|
static String |
TRUNCATE_FAILING_COMMAND_CONFIG |
Constructor and Description |
---|
CliConfig() |
Modifier and Type | Method and Description |
---|---|
Ansi |
createAnsi(Optional<String> defaultColor)
Create an Ansi object appropriate for the current output.
|
abstract BuckConfig |
getDelegate() |
boolean |
getEnableFailingCommandTruncation() |
boolean |
getEnableShowOutputWarning() |
boolean |
getFlushEventsBeforeExit() |
JsonAttributeFormat |
getJsonAttributeFormat()
When printing out json representation of targets, what formatting should be applied
|
com.google.common.collect.ImmutableList<String> |
getMessageOfTheDay() |
boolean |
getRelativizeTargetsToWorkingDirectory() |
boolean |
getWarnOnConfigFileOverrides() |
com.google.common.collect.ImmutableSet<Path> |
getWarnOnConfigFileOverridesIgnoredFiles() |
static CliConfig |
of(BuckConfig delegate) |
public static final String TRUNCATE_FAILING_COMMAND_CONFIG
public abstract BuckConfig getDelegate()
getDelegate
in interface ConfigView<BuckConfig>
public static CliConfig of(BuckConfig delegate)
@Value.Derived public Ansi createAnsi(Optional<String> defaultColor)
defaultColor
- Default value provided by the caller (e.g. the client of buckd)@Value.Derived public JsonAttributeFormat getJsonAttributeFormat()
@Value.Lazy public boolean getWarnOnConfigFileOverrides()
@Value.Lazy public com.google.common.collect.ImmutableSet<Path> getWarnOnConfigFileOverridesIgnoredFiles()
@Value.Lazy public boolean getFlushEventsBeforeExit()
@Value.Lazy public com.google.common.collect.ImmutableList<String> getMessageOfTheDay()
@Value.Lazy public boolean getRelativizeTargetsToWorkingDirectory()
@Value.Lazy public boolean getEnableShowOutputWarning()
@Value.Lazy public boolean getEnableFailingCommandTruncation()