BuildCacheDirectoryBuildCache, HttpBuildCachepublic abstract class AbstractBuildCache extends java.lang.Object implements BuildCache
| Constructor | Description |
|---|---|
AbstractBuildCache() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isEnabled() |
Returns whether the build cache is enabled.
|
boolean |
isPush() |
Returns whether a given build can store outputs in the build cache.
|
void |
setEnabled(boolean enabled) |
Sets whether the build cache is enabled.
|
void |
setPush(boolean push) |
Sets whether a given build can store outputs in the build cache.
|
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