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 ArtifactOrigin
IvyPatternHelper.OriginalArtifactNameValue.origin
Methods in org.apache.ivy.core with parameters of type ArtifactOriginModifier and TypeMethodDescriptionstatic String
IvyPatternHelper.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 String
IvyPatternHelper.substitute
(String pattern, Artifact artifact, ArtifactOrigin origin) static String
IvyPatternHelper.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 ArtifactOrigin
DefaultRepositoryCacheManager.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 ArtifactOrigin
ArtifactOrigin instance used when the origin is unknown.static final ArtifactOrigin
Deprecated.because of renaming due spell check.Methods in org.apache.ivy.core.cache with parameters of type ArtifactOriginModifier and TypeMethodDescriptionprivate boolean
DefaultRepositoryCacheManager.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 File
DefaultRepositoryCacheManager.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 boolean
ArtifactOrigin.isUnknown
(ArtifactOrigin artifact) private static String
DefaultRepositoryCacheManager.parseArtifactOriginFilePath
(ArtifactOrigin origin) If thelocation of the artifact origin
is afile:
scheme URI, then this method parses that URI and returns back the path of the file it represents.(package private) void
DefaultRepositoryCacheManager.saveArtifactOrigin
(Artifact artifact, ArtifactOrigin origin) void
DownloadListener.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 TypeMethodDescriptionvoid
ArtifactDownloadReport.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 unknownArtifactOrigin
in 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, ornull
in 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)