BuildCache
DirectoryBuildCache
, HttpBuildCache
public abstract class AbstractBuildCache extends 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 BuildCache
public void setEnabled(boolean enabled)
setEnabled
in interface BuildCache
public boolean isPush()
isPush
in interface BuildCache
public void setPush(boolean push)
setPush
in interface BuildCache