Class CacheResolver
- All Implemented Interfaces:
Validatable, DependencyResolver, HasLatestStrategy
Deprecated.
-
Field Summary
Fields inherited from class BasicResolver
DATE_FORMAT, DESCRIPTOR_OPTIONAL, DESCRIPTOR_REQUIRED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondownload(Artifact[] artifacts, DownloadOptions options) Deprecated.Download artifacts with specified DownloadOptions.voidDeprecated.booleanDeprecated.Returnstrueif the given artifact can be located by this resolver and actually exist.getDependency(DependencyDescriptor dd, ResolveData data) Deprecated.Resolve a module by id, getting its module descriptor and resolving the revision if it's a latest one (i.e.Deprecated.Deprecated.Deprecated.listRevisions(ModuleEntry module) Deprecated.Deprecated.Default implementation actually download the artifact Subclasses should overwrite this to avoid the downloadvoidDeprecated.Methods inherited from class FileSystemResolver
abortPublishTransaction, addArtifactPattern, addConfiguredArtifact, addConfiguredIvy, addIvyPattern, beginPublishTransaction, commitPublishTransaction, filterNames, getDestination, getTransactional, isLocal, setLocal, setTransactional, supportTransactionMethods inherited from class RepositoryResolver
exist, findResourceUsingPattern, findTokenValues, get, getRepository, getResource, isAlwaysCheckExactRevision, listResources, listTokenValues, put, putChecksum, putSignature, setAlwaysCheckExactRevision, setName, setRepository, setSettings, setSignerMethods inherited from class AbstractPatternsBasedResolver
convertM2CriteriaForResourceSearch, convertM2IdForResourceSearch, convertM2OrganizationForResourceSearch, convertM2ResourceSearchIdToNormal, convertM2TokenValuesForResourceSearch, findArtifactNames, findArtifactRef, findIvyFileRef, findIvyNames, findNames, findResource, findResourceUsingPatterns, getArtifactPatterns, getIvyPatterns, getModuleDescriptorExtension, isM2compatible, listTokenValues, setArtifactPatterns, setIvyPatterns, setM2compatibleMethods inherited from class BasicResolver
acceptLatest, checkModuleDescriptorRevision, clearArtifactAttempts, clearIvyAttempts, doFindArtifactRef, download, findFirstArtifactRef, getAndCheck, getArtifactRef, getChecksumAlgorithms, getDefaultRMDParser, getPublicationDate, getRMDParser, getWorkspaceName, isAllownomd, isCheckconsistency, isEnvDependent, isForce, listTokenValues, logArtifactAttempt, logAttempt, logIvyAttempt, parse, reportFailure, reportFailure, setAllownomd, setCheckconsistency, setChecksums, setDescriptor, setEnvDependent, setForce, setWorkspaceName, shouldReturnResolvedModule, toStringMethods inherited from class AbstractResolver
checkInterrupted, checkLatest, doValidate, findModuleInCache, findModuleInCache, fromSystem, fromSystem, getCacheDownloadOptions, getCacheOptions, getChangingMatcherName, getChangingPattern, getDownloadOptions, getEventManager, getLatest, getLatestStrategy, getName, getNamespace, getParserSettings, getRepositoryCacheManager, getSettings, getSystemNode, getTimeoutConstraint, hidePassword, isAfter, isValidate, saveModuleRevisionIfNeeded, setCache, setChangingMatcher, setChangingPattern, setCheckmodified, setEventManager, setLatest, setLatestStrategy, setNamespace, setRepositoryCacheManager, setTimeoutConstraint, setValidate, toSystem, toSystem, toSystem, toSystem, toSystem, toSystem, validate
-
Constructor Details
-
CacheResolver
public CacheResolver()Deprecated. -
CacheResolver
Deprecated.
-
-
Method Details
-
getDependency
public ResolvedModuleRevision getDependency(DependencyDescriptor dd, ResolveData data) throws ParseException Deprecated.Description copied from interface:DependencyResolverResolve a module by id, getting its module descriptor and resolving the revision if it's a latest one (i.e. a revision uniquely identifying the revision of a module in the current environment - If this revision is not able to identify uniquely the revision of the module outside of the current environment, then the resolved revision must begin by ##)- Specified by:
getDependencyin interfaceDependencyResolver- Overrides:
getDependencyin classBasicResolver- Parameters:
dd- DependencyDescriptordata- ResolveData- Returns:
- ResolvedModuleRevision
- Throws:
ParseException- if something goes wrong
-
download
Deprecated.Description copied from interface:DependencyResolverDownload artifacts with specified DownloadOptions.The resolver will always make a best effort, and do not stop when an artifact is not available. It rather continue to attempt to download other requested artifacts, and report what has been done in the returned DownloadReport.
The returned DownloadReport is never
null, and always contain anArtifactDownloadReportfor each requested Artifact.- Specified by:
downloadin interfaceDependencyResolver- Overrides:
downloadin classRepositoryResolver- Parameters:
artifacts- an array of artifacts to download. Must not benull.options- options to apply for this download. Must not benull.- Returns:
- a DownloadReport with details about each Artifact download.
-
exists
Deprecated.Description copied from interface:DependencyResolverReturnstrueif the given artifact can be located by this resolver and actually exist.- Specified by:
existsin interfaceDependencyResolver- Overrides:
existsin classBasicResolver- Parameters:
artifact- the artifact which should be tested.- Returns:
trueif the given artifact can be located by this resolver and actually exist.
-
locate
Deprecated.Description copied from class:AbstractResolverDefault implementation actually download the artifact Subclasses should overwrite this to avoid the download- Specified by:
locatein interfaceDependencyResolver- Overrides:
locatein classBasicResolver- Parameters:
artifact- ArtifactOrigin- Returns:
- ArtifactOrigin
-
publish
Deprecated.- Specified by:
publishin interfaceDependencyResolver- Overrides:
publishin classRepositoryResolver- Throws:
IOException
-
listOrganisations
Deprecated.- Specified by:
listOrganisationsin interfaceDependencyResolver- Overrides:
listOrganisationsin classBasicResolver
-
listModules
Deprecated.- Specified by:
listModulesin interfaceDependencyResolver- Overrides:
listModulesin classBasicResolver
-
listRevisions
Deprecated.- Specified by:
listRevisionsin interfaceDependencyResolver- Overrides:
listRevisionsin classBasicResolver
-
dumpSettings
public void dumpSettings()Deprecated.- Specified by:
dumpSettingsin interfaceDependencyResolver- Overrides:
dumpSettingsin classRepositoryResolver
-
getTypeName
-