BuildCache
public class DirectoryBuildCache extends AbstractBuildCache
Constructor | Description |
---|---|
DirectoryBuildCache() |
Modifier and Type | Method | Description |
---|---|---|
Object |
getDirectory() |
Returns the directory to use to store the build cache.
|
int |
getRemoveUnusedEntriesAfterDays() |
Returns the number of days after unused entries are garbage collected.
|
void |
setDirectory(Object directory) |
Sets the directory to use to store the build cache.
|
void |
setRemoveUnusedEntriesAfterDays(int removeUnusedEntriesAfterDays) |
Sets the number of days after unused entries are garbage collected.
|
isEnabled, isPush, setEnabled, setPush
@Nullable public Object getDirectory()
public void setDirectory(@Nullable Object directory)
Project.file(Object)
.public int getRemoveUnusedEntriesAfterDays()
public void setRemoveUnusedEntriesAfterDays(int removeUnusedEntriesAfterDays)