Uses of Interface
org.apache.ivy.plugins.repository.Resource
-
-
Uses of Resource in org.apache.ivy.core.cache
Methods in org.apache.ivy.core.cache with parameters of type Resource Modifier and Type Method Description private boolean
DefaultRepositoryCacheManager. checkCacheUptodate(java.io.File archiveFile, Resource resource, ArtifactOrigin savedOrigin, ArtifactOrigin origin, long ttl)
Check that a cached file can be considered up to date and thus not downloadedprivate java.lang.String
DefaultRepositoryCacheManager. computeResourceNameHash(Resource resource)
Compute a SHA1 of the resource name, encoded in base64, so we can use it as a file name.void
DefaultRepositoryCacheManager.BackupResourceDownloader. download(Artifact artifact, Resource resource, java.io.File dest)
ArtifactDownloadReport
DefaultRepositoryCacheManager. downloadRepositoryResource(Resource resource, java.lang.String name, java.lang.String type, java.lang.String extension, CacheResourceOptions options, Repository repository)
ArtifactDownloadReport
RepositoryCacheManager. downloadRepositoryResource(Resource resource, java.lang.String name, java.lang.String type, java.lang.String extension, CacheResourceOptions options, Repository repository)
Download some repository resource and put it in the cache. -
Uses of Resource in org.apache.ivy.core.module.descriptor
Fields in org.apache.ivy.core.module.descriptor declared as Resource Modifier and Type Field Description private Resource
DefaultModuleDescriptor. resource
Methods in org.apache.ivy.core.module.descriptor that return Resource Modifier and Type Method Description Resource
DefaultModuleDescriptor. getResource()
Resource
ModuleDescriptor. getResource()
Constructors in org.apache.ivy.core.module.descriptor with parameters of type Resource Constructor Description DefaultModuleDescriptor(ModuleDescriptorParser parser, Resource res)
IMPORTANT : at least call setModuleRevisionId and setResolvedPublicationDate with instances created by this constructor !DefaultWorkspaceModuleDescriptor(ModuleDescriptorParser parser, Resource res)
-
Uses of Resource in org.apache.ivy.osgi.core
Methods in org.apache.ivy.osgi.core with parameters of type Resource Modifier and Type Method Description boolean
OSGiManifestParser. accept(Resource res)
Artifact
OSGiManifestParser. getMetadataArtifact(ModuleRevisionId mrid, Resource res)
ModuleDescriptor
OSGiManifestParser. parseDescriptor(ParserSettings ivySettings, java.net.URL descriptorURL, Resource res, boolean validate)
void
OSGiManifestParser. toIvyFile(java.io.InputStream is, Resource res, java.io.File destFile, ModuleDescriptor md)
-
Uses of Resource in org.apache.ivy.osgi.repo
Fields in org.apache.ivy.osgi.repo with type parameters of type Resource Modifier and Type Field Description private java.util.Map<java.lang.String,Resource>
RelativeURLRepository. resourcesCache
Methods in org.apache.ivy.osgi.repo that return Resource Modifier and Type Method Description protected Resource
AbstractOSGiResolver. getResource(java.lang.String source)
Resource
RelativeURLRepository. getResource(java.lang.String source)
Methods in org.apache.ivy.osgi.repo with parameters of type Resource Modifier and Type Method Description protected long
AbstractOSGiResolver. get(Resource resource, java.io.File dest)
-
Uses of Resource in org.apache.ivy.plugins.parser
Fields in org.apache.ivy.plugins.parser declared as Resource Modifier and Type Field Description private Resource
AbstractModuleDescriptorParser.AbstractParser. res
Methods in org.apache.ivy.plugins.parser that return Resource Modifier and Type Method Description protected Resource
AbstractModuleDescriptorParser.AbstractParser. getResource()
Methods in org.apache.ivy.plugins.parser with parameters of type Resource Modifier and Type Method Description boolean
ModuleDescriptorParser. accept(Resource res)
boolean
ModuleDescriptorParserRegistry. accept(Resource res)
Artifact
AbstractModuleDescriptorParser. getMetadataArtifact(ModuleRevisionId mrid, Resource res)
Artifact
ModuleDescriptorParser. getMetadataArtifact(ModuleRevisionId mrid, Resource res)
Returns the module metadata artifact corresponding to the given module revision id that this parser parsesModuleDescriptorParser
ModuleDescriptorParserRegistry. getParser(Resource res)
ModuleDescriptor
ModuleDescriptorParser. parseDescriptor(ParserSettings ivySettings, java.net.URL descriptorURL, Resource res, boolean validate)
ModuleDescriptor
ModuleDescriptorParserRegistry. parseDescriptor(ParserSettings settings, java.net.URL descriptorURL, Resource res, boolean validate)
void
AbstractModuleDescriptorParser.AbstractParser. setResource(Resource res)
void
ModuleDescriptorParser. toIvyFile(java.io.InputStream is, Resource res, java.io.File destFile, ModuleDescriptor md)
Convert a module descriptor to an ivy file.void
ModuleDescriptorParserRegistry. toIvyFile(java.io.InputStream is, Resource res, java.io.File destFile, ModuleDescriptor md)
-
Uses of Resource in org.apache.ivy.plugins.parser.m2
Methods in org.apache.ivy.plugins.parser.m2 with parameters of type Resource Modifier and Type Method Description boolean
PomModuleDescriptorParser. accept(Resource res)
void
PomModuleDescriptorBuilder. addDependency(Resource res, PomReader.PomDependencyData dep)
Artifact
PomModuleDescriptorParser. getMetadataArtifact(ModuleRevisionId mrid, Resource res)
ModuleDescriptor
PomModuleDescriptorParser. parseDescriptor(ParserSettings ivySettings, java.net.URL descriptorURL, Resource res, boolean validate)
void
PomModuleDescriptorParser. toIvyFile(java.io.InputStream is, Resource res, java.io.File destFile, ModuleDescriptor md)
Constructors in org.apache.ivy.plugins.parser.m2 with parameters of type Resource Constructor Description PomModuleDescriptor(ModuleDescriptorParser parser, Resource res)
PomModuleDescriptorBuilder(ModuleDescriptorParser parser, Resource res, ParserSettings ivySettings)
PomReader(java.net.URL descriptorURL, Resource res)
-
Uses of Resource in org.apache.ivy.plugins.parser.xml
Methods in org.apache.ivy.plugins.parser.xml with parameters of type Resource Modifier and Type Method Description boolean
XmlModuleDescriptorParser. accept(Resource res)
(package private) ModuleDescriptor
XmlModuleDescriptorParser. parseDescriptor(ParserSettings ivySettings, java.io.InputStream descriptor, Resource res, boolean validate)
Used for test purposeModuleDescriptor
XmlModuleDescriptorParser. parseDescriptor(ParserSettings ivySettings, java.net.URL xmlURL, Resource res, boolean validate)
void
XmlModuleDescriptorParser. toIvyFile(java.io.InputStream is, Resource res, java.io.File destFile, ModuleDescriptor md)
static void
XmlModuleDescriptorUpdater. update(java.io.InputStream in, Resource res, java.io.File destFile, UpdateOptions options)
-
Uses of Resource in org.apache.ivy.plugins.repository
Subinterfaces of Resource in org.apache.ivy.plugins.repository Modifier and Type Interface Description interface
LocalizableResource
Resource which can be located locallyClasses in org.apache.ivy.plugins.repository that implement Resource Modifier and Type Class Description class
BasicResource
class
LazyResource
Fields in org.apache.ivy.plugins.repository declared as Resource Modifier and Type Field Description private Resource
TransferEvent. resource
Methods in org.apache.ivy.plugins.repository that return Resource Modifier and Type Method Description Resource
BasicResource. clone(java.lang.String cloneName)
Resource
Resource. clone(java.lang.String cloneName)
Clones this resource with a new resource with a different nameResource
Repository. getResource(java.lang.String source)
Return the resource associated with a specified identifier.Resource
TransferEvent. getResource()
Methods in org.apache.ivy.plugins.repository with parameters of type Resource Modifier and Type Method Description void
ResourceDownloader. download(Artifact artifact, Resource resource, java.io.File dest)
static boolean
ResourceHelper. equals(Resource res, java.io.File f)
protected void
AbstractRepository. fireTransferInitiated(Resource res, int requestType)
static long
ResourceHelper. getLastModifiedOrDefault(Resource res)
protected void
LazyResource. init(Resource r)
protected void
TransferEvent. setResource(Resource resource)
Constructors in org.apache.ivy.plugins.repository with parameters of type Resource Constructor Description TransferEvent(Repository repository, Resource resource, int eventType, int requestType)
TransferEvent(Repository repository, Resource resource, long length, int requestType)
TransferEvent(Repository repository, Resource resource, java.lang.Exception exception, int requestType)
-
Uses of Resource in org.apache.ivy.plugins.repository.file
Classes in org.apache.ivy.plugins.repository.file that implement Resource Modifier and Type Class Description class
FileResource
Methods in org.apache.ivy.plugins.repository.file that return Resource Modifier and Type Method Description Resource
FileResource. clone(java.lang.String cloneName)
Resource
FileRepository. getResource(java.lang.String source)
-
Uses of Resource in org.apache.ivy.plugins.repository.jar
Classes in org.apache.ivy.plugins.repository.jar that implement Resource Modifier and Type Class Description class
JarResource
Methods in org.apache.ivy.plugins.repository.jar that return Resource Modifier and Type Method Description Resource
JarResource. clone(java.lang.String cloneName)
Resource
JarRepository. getResource(java.lang.String source)
-
Uses of Resource in org.apache.ivy.plugins.repository.sftp
Classes in org.apache.ivy.plugins.repository.sftp that implement Resource Modifier and Type Class Description class
SFTPResource
Methods in org.apache.ivy.plugins.repository.sftp that return Resource Modifier and Type Method Description Resource
SFTPResource. clone(java.lang.String cloneName)
Resource
SFTPRepository. getResource(java.lang.String source)
Resource
SFTPRepository. resolveResource(java.lang.String path)
This method is similar to getResource, except that the returned resource is fully initialized (resolved in the sftp repository), and that the given string is a full remote path -
Uses of Resource in org.apache.ivy.plugins.repository.ssh
Classes in org.apache.ivy.plugins.repository.ssh that implement Resource Modifier and Type Class Description class
SshResource
Resource for SSH Ivy RepositoryMethods in org.apache.ivy.plugins.repository.ssh that return Resource Modifier and Type Method Description Resource
SshResource. clone(java.lang.String cloneName)
Resource
SshRepository. getResource(java.lang.String source)
create a new resource with lazy initializing -
Uses of Resource in org.apache.ivy.plugins.repository.url
Classes in org.apache.ivy.plugins.repository.url that implement Resource Modifier and Type Class Description class
URLResource
Fields in org.apache.ivy.plugins.repository.url with type parameters of type Resource Modifier and Type Field Description private java.util.Map<java.lang.String,Resource>
URLRepository. resourcesCache
Methods in org.apache.ivy.plugins.repository.url that return Resource Modifier and Type Method Description Resource
URLResource. clone(java.lang.String cloneName)
Resource
ChainedRepository. getResource(java.lang.String source)
Resource
URLRepository. getResource(java.lang.String source)
-
Uses of Resource in org.apache.ivy.plugins.repository.vsftp
Classes in org.apache.ivy.plugins.repository.vsftp that implement Resource Modifier and Type Class Description class
VsftpResource
Methods in org.apache.ivy.plugins.repository.vsftp that return Resource Modifier and Type Method Description Resource
VsftpResource. clone(java.lang.String cloneName)
protected Resource
VsftpRepository. getInitResource(java.lang.String source)
Resource
VsftpRepository. getResource(java.lang.String source)
protected Resource
VsftpRepository. lslToResource(java.lang.String file, java.lang.String responseLine)
Parses a ls -l line and transforms it in a resource -
Uses of Resource in org.apache.ivy.plugins.resolver
Methods in org.apache.ivy.plugins.resolver that return Resource Modifier and Type Method Description protected abstract Resource
BasicResolver. getResource(java.lang.String source)
protected Resource
RepositoryResolver. getResource(java.lang.String source)
Methods in org.apache.ivy.plugins.resolver with parameters of type Resource Modifier and Type Method Description private boolean
BasicResolver. check(Resource resource, java.io.File dest, java.lang.String algorithm)
Checks the given resource checksum if a checksum resource exists.protected abstract long
BasicResolver. get(Resource resource, java.io.File dest)
protected long
RepositoryResolver. get(Resource resource, java.io.File dest)
protected long
BasicResolver. getAndCheck(Resource resource, java.io.File dest)
-
Uses of Resource in org.apache.ivy.plugins.resolver.packager
Classes in org.apache.ivy.plugins.resolver.packager that implement Resource Modifier and Type Class Description class
BuiltFileResource
Represents an artifact built by aPackagerResolver
.Methods in org.apache.ivy.plugins.resolver.packager that return Resource Modifier and Type Method Description Resource
BuiltFileResource. clone(java.lang.String name)
Methods in org.apache.ivy.plugins.resolver.packager with parameters of type Resource Modifier and Type Method Description void
PackagerCacheEntry. build(Resource packagerResource, java.util.Map<java.lang.String,java.lang.String> properties)
Attempt to build this entry. -
Uses of Resource in org.apache.ivy.plugins.resolver.util
Fields in org.apache.ivy.plugins.resolver.util declared as Resource Modifier and Type Field Description private Resource
ResolvedResource. res
Methods in org.apache.ivy.plugins.resolver.util that return Resource Modifier and Type Method Description Resource
ResolvedResource. getResource()
Methods in org.apache.ivy.plugins.resolver.util with parameters of type Resource Modifier and Type Method Description MDResolvedResource
ResourceMDParser. parse(Resource resource, java.lang.String rev)
Parses the module descriptor designed by the given resource.Constructors in org.apache.ivy.plugins.resolver.util with parameters of type Resource Constructor Description MDResolvedResource(Resource res, java.lang.String rev, ResolvedModuleRevision rmr)
ResolvedResource(Resource res, java.lang.String rev)
-