|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A
- The type of the request object for this resolutionB
- The type of the result of this resolutionpublic interface ResolutionControl<A,B>
Command methods for controlling dependency resolution via the DSL.
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 |
---|
A getRequest()
B getCachedResult()
void cacheFor(int value, TimeUnit units)
value
- The number of unitsunits
- The time unitsvoid useCachedResult()
void refresh()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |