public final class JkResolutionParameters
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
JkScopeMapping |
getScopeMapping()
Returns the default scope mapping to use for the
JkDependencySet
to be resolved. |
boolean |
isRefreshed()
Returns
true if during the resolution phase, the dynamic
version must be resolved as well or the cache can be reused. |
JkResolutionParameters |
isRefreshed(boolean refreshed) |
static JkResolutionParameters |
of()
Creates resolution parameters without default mapping and no dynamic
version resolving refresh.
|
static JkResolutionParameters |
of(JkScopeMapping scopeMapping)
Creates resolution parameters with the specified default scope mapping
and no dynamic version resolving refresh.
|
java.lang.String |
toString() |
JkResolutionParameters |
withScopeMapping(JkScopeMapping defaultMapping) |
public static JkResolutionParameters of()
getScopeMapping()
,
isRefreshed()
public static JkResolutionParameters of(JkScopeMapping scopeMapping)
getScopeMapping()
,
isRefreshed()
public JkScopeMapping getScopeMapping()
JkDependencySet
to be resolved. null
means no default scope mapping.public boolean isRefreshed()
true
if during the resolution phase, the dynamic
version must be resolved as well or the cache can be reused.public JkResolutionParameters isRefreshed(boolean refreshed)
isRefreshed()
public JkResolutionParameters withScopeMapping(JkScopeMapping defaultMapping)
getScopeMapping()
public java.lang.String toString()
toString
in class java.lang.Object