public class ChromeTraceBuckConfig extends Object implements ConfigView<BuckConfig>
Modifier and Type | Method and Description |
---|---|
boolean |
getCompressTraces() |
BuckConfig |
getDelegate() |
LogUploadMode |
getLogUploadMode()
Returns whether and when to upload logs.
|
int |
getMaxTraces() |
Optional<URI> |
getTraceUploadUri()
Get URL to upload trace.
|
Optional<URI> |
getTraceUploadUriIfEnabled()
Get URL to upload trace if the config is enabled.
|
boolean |
isChromeTraceCreationEnabled() |
static ChromeTraceBuckConfig |
of(BuckConfig delegate) |
public static ChromeTraceBuckConfig of(BuckConfig delegate)
public int getMaxTraces()
public boolean isChromeTraceCreationEnabled()
public boolean getCompressTraces()
public Optional<URI> getTraceUploadUriIfEnabled()
public LogUploadMode getLogUploadMode()
public BuckConfig getDelegate()
getDelegate
in interface ConfigView<BuckConfig>