|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
@Incubating public interface ResolutionControl
Command methods for controlling dependency resolution via the DSL.
- The type of the request object for this resolution - The type of the result of this resolution| Method Summary | |
|---|---|
void
|
cacheFor(int value, TimeUnit units)
States that the cached value should be used if it is no older than the specified duration. |
B
|
getCachedResult()
Returns the cached result file or null if the result has not been cached. |
A
|
getRequest()
Returns the query object that was requested in this resolution. |
void
|
refresh()
States that any cached value should be ignored, forcing a fresh resolve. |
void
|
useCachedResult()
States that the cached value should be used regardless of age. |
| Method Detail |
|---|
public void cacheFor(int value, TimeUnit units)
value - The number of unitsunits - The time units
public B getCachedResult()
public A getRequest()
public void refresh()
public void useCachedResult()
Gradle API 1.5