@Incubating public abstract class AbstractBuildCache extends Object implements BuildCache
| Constructor and Description |
|---|
AbstractBuildCache() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled()
Returns whether the build cache is enabled.
|
boolean |
isPush()
Returns whether pushing to the build cache is enabled.
|
void |
setEnabled(boolean enabled)
Enables or disables the build cache service.
|
void |
setPush(boolean push)
Sets whether pushing to the build cache is enabled.
|
public boolean isEnabled()
isEnabled in interface BuildCachepublic void setEnabled(boolean enabled)
setEnabled in interface BuildCachepublic boolean isPush()
isPush in interface BuildCachepublic void setPush(boolean push)
setPush in interface BuildCache