@Documented
@Retention(RUNTIME)
@Target(TYPE)
public @interface DisableCachingByDefault
Caching for individual task instances can be enabled and disabled via TaskOutputs.cacheIf(String, Spec)
or disabled via TaskOutputs.doNotCacheIf(String, Spec)
.
Using these APIs takes precedence over the presence (or absence) of @DisableCachingByDefault
.
CacheableTask
,
CacheableTransform
Modifier and Type | Optional Element | Description |
---|---|---|
java.lang.String |
because |