Package org.apache.ivy.core.resolve
Class ResolveOptions
java.lang.Object
org.apache.ivy.core.LogOptions
org.apache.ivy.core.resolve.ResolveOptions
A set of options used during resolve related tasks
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Default resolve mode, using default revision constraints in dependency descriptors.static final String
Dynamic resolve mode, using dynamic revision constraints in dependency descriptors.static final String[]
Array of all available resolve modes.Fields inherited from class org.apache.ivy.core.LogOptions
LOG_DEFAULT, LOG_DOWNLOAD_ONLY, LOG_QUIET
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
String[]
getConfs()
String[]
Get the asked confs.getDate()
static String
static String
getDefaultResolveId
(ModuleId moduleId) Returns the resolve mode to use, ornull
to use settings configured resolve mode.boolean
boolean
boolean
boolean
boolean
boolean
setArtifactFilter
(Filter<Artifact> artifactFilter) setCheckIfChanged
(boolean checkIfChanged) setDownload
(boolean download) setOutputReport
(boolean outputReport) setRefresh
(boolean refresh) setResolveId
(String resolveId) setResolveMode
(String resolveMode) setRevision
(String revision) setTransitive
(boolean transitive) setUseCacheOnly
(boolean useCacheOnly) setValidate
(boolean validate) boolean
Indicates if the configurations use a special configuration * , *(private) or *(public).Methods inherited from class org.apache.ivy.core.LogOptions
getLog, setLog
-
Field Details
-
RESOLVEMODE_DEFAULT
Default resolve mode, using default revision constraints in dependency descriptors.- See Also:
-
RESOLVEMODE_DYNAMIC
Dynamic resolve mode, using dynamic revision constraints in dependency descriptors.- See Also:
-
RESOLVEMODES
Array of all available resolve modes.
-
-
Constructor Details
-
ResolveOptions
public ResolveOptions() -
ResolveOptions
-
-
Method Details
-
getArtifactFilter
-
setArtifactFilter
-
getResolveMode
Returns the resolve mode to use, ornull
to use settings configured resolve mode.- Returns:
- the resolve mode to use.
-
setResolveMode
-
useSpecialConfs
public boolean useSpecialConfs()Indicates if the configurations use a special configuration * , *(private) or *(public). When special configurations are used, you must have the module descriptor in order to get the list of configurations.- Returns:
- boolean
- See Also:
-
getConfs
- Returns:
- String[]
- See Also:
-
getConfs
Get the asked confs. Special confs (like *) use the moduleDescriptor to find the values- Parameters:
md
- Used to get the exact values for special confs.- Returns:
- String[]
-
setConfs
-
getDate
-
setDate
-
isDownload
public boolean isDownload() -
setDownload
-
isOutputReport
public boolean isOutputReport() -
setOutputReport
-
isTransitive
public boolean isTransitive() -
setTransitive
-
isUseCacheOnly
public boolean isUseCacheOnly() -
setUseCacheOnly
-
isValidate
public boolean isValidate() -
setValidate
-
getRevision
-
setRevision
-
getResolveId
-
setResolveId
-
setRefresh
-
isRefresh
public boolean isRefresh() -
setCheckIfChanged
-
getCheckIfChanged
public boolean getCheckIfChanged() -
getDefaultResolveId
-
getDefaultResolveId
-