Uses of Class
org.apache.ivy.core.cache.ArtifactOrigin
Packages that use ArtifactOrigin
Package
Description
-
Uses of ArtifactOrigin in org.apache.ivy.core
Fields in org.apache.ivy.core declared as ArtifactOriginModifier and TypeFieldDescriptionprivate ArtifactOriginIvyPatternHelper.OriginalArtifactNameValue.originMethods in org.apache.ivy.core with parameters of type ArtifactOriginModifier and TypeMethodDescriptionstatic StringIvyPatternHelper.substitute(String pattern, String org, String module, String branch, String revision, String artifact, String type, String ext, String conf, ArtifactOrigin origin, Map<String, String> extraModuleAttributes, Map<String, String> extraArtifactAttributes) static StringIvyPatternHelper.substitute(String pattern, Artifact artifact, ArtifactOrigin origin) static StringIvyPatternHelper.substitute(String pattern, ModuleRevisionId mrid, Artifact artifact, String conf, ArtifactOrigin origin) Constructors in org.apache.ivy.core with parameters of type ArtifactOrigin -
Uses of ArtifactOrigin in org.apache.ivy.core.cache
Methods in org.apache.ivy.core.cache that return ArtifactOriginModifier and TypeMethodDescriptionprivate ArtifactOriginDefaultRepositoryCacheManager.getDefaultMetadataArtifactOrigin(ModuleRevisionId mrid) DefaultRepositoryCacheManager.getSavedArtifactOrigin(Artifact artifact) RepositoryCacheManager.getSavedArtifactOrigin(Artifact artifact) Returns the artifact origin of the given artifact as saved in this cache.static final ArtifactOriginArtifactOrigin instance used when the origin is unknown.static final ArtifactOriginDeprecated.because of renaming due spell check.Methods in org.apache.ivy.core.cache with parameters of type ArtifactOriginModifier and TypeMethodDescriptionprivate booleanDefaultRepositoryCacheManager.checkCacheUptodate(File archiveFile, Resource resource, ArtifactOrigin savedOrigin, ArtifactOrigin origin, long ttl) Check that a cached file can be considered up to date and thus not downloadedDefaultRepositoryCacheManager.getArchiveFileInCache(Artifact artifact, ArtifactOrigin origin) Returns a File object pointing to where the artifact can be found on the local file system.private FileDefaultRepositoryCacheManager.getArchiveFileInCache(Artifact artifact, ArtifactOrigin origin, boolean useOrigin) Returns a File object pointing to where the artifact can be found on the local file system, using or not the original location depending on the availability of origin information provided as parameter and the setting of useOrigin.DefaultRepositoryCacheManager.getArchivePathInCache(Artifact artifact, ArtifactOrigin origin) static final booleanArtifactOrigin.isUnknown(ArtifactOrigin artifact) private static StringDefaultRepositoryCacheManager.parseArtifactOriginFilePath(ArtifactOrigin origin) If thelocation of the artifact originis afile:scheme URI, then this method parses that URI and returns back the path of the file it represents.(package private) voidDefaultRepositoryCacheManager.saveArtifactOrigin(Artifact artifact, ArtifactOrigin origin) voidDownloadListener.startArtifactDownload(RepositoryCacheManager cache, ResolvedResource rres, Artifact artifact, ArtifactOrigin origin) -
Uses of ArtifactOrigin in org.apache.ivy.core.event.download
Fields in org.apache.ivy.core.event.download declared as ArtifactOriginMethods in org.apache.ivy.core.event.download that return ArtifactOriginConstructors in org.apache.ivy.core.event.download with parameters of type ArtifactOriginModifierConstructorDescriptionStartArtifactDownloadEvent(DependencyResolver resolver, Artifact artifact, ArtifactOrigin origin) -
Uses of ArtifactOrigin in org.apache.ivy.core.report
Fields in org.apache.ivy.core.report declared as ArtifactOriginMethods in org.apache.ivy.core.report that return ArtifactOriginMethods in org.apache.ivy.core.report with parameters of type ArtifactOriginModifier and TypeMethodDescriptionvoidArtifactDownloadReport.setArtifactOrigin(ArtifactOrigin origin) -
Uses of ArtifactOrigin in org.apache.ivy.core.resolve
Methods in org.apache.ivy.core.resolve that return ArtifactOriginModifier and TypeMethodDescriptionLocates an artifact in dependency resolvers, and return its location if it can be located and actually exists, or an unknownArtifactOriginin other cases.Methods in org.apache.ivy.core.resolve with parameters of type ArtifactOriginModifier and TypeMethodDescriptionResolveEngine.download(ArtifactOrigin origin, DownloadOptions options) Materialize an artifact already located. -
Uses of ArtifactOrigin in org.apache.ivy.plugins.resolver
Methods in org.apache.ivy.plugins.resolver that return ArtifactOriginModifier and TypeMethodDescriptionDefault implementation actually download the artifact Subclasses should overwrite this to avoid the downloadDeprecated.Locates the given artifact and returns its location if it can be located by this resolver and if it actually exists, ornullin other cases.Methods in org.apache.ivy.plugins.resolver with parameters of type ArtifactOriginModifier and TypeMethodDescriptionAbstractResolver.download(ArtifactOrigin artifact, DownloadOptions options) Default implementation downloads the artifact without taking advantage of its locationBasicResolver.download(ArtifactOrigin origin, DownloadOptions options) ChainResolver.download(ArtifactOrigin artifact, DownloadOptions options) DependencyResolver.download(ArtifactOrigin artifact, DownloadOptions options) Download an artifact according to the given DownloadOptions.DualResolver.download(ArtifactOrigin artifact, DownloadOptions options)