Package org.apache.ivy.core.retrieve
Class RetrieveEngine
java.lang.Object
org.apache.ivy.core.retrieve.RetrieveEngine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetermineArtifactsToCopy
(ModuleRevisionId mrid, String destFilePattern, RetrieveOptions options) int
retrieve
(ModuleRevisionId mrid, String destFilePattern, RetrieveOptions options) Deprecated.retrieve
(ModuleRevisionId mrid, RetrieveOptions options)
-
Constructor Details
-
RetrieveEngine
-
-
Method Details
-
retrieve
@Deprecated public int retrieve(ModuleRevisionId mrid, String destFilePattern, RetrieveOptions options) throws IOException Deprecated.example of destFilePattern : - lib/[organisation]/[module]/[artifact]-[revision].[type] - lib/[artifact].[type] : flatten with no revision moduleId is used with confs and localCacheDirectory to determine an ivy report file, used as input for the copy If such a file does not exist for any conf (resolve has not been called before ?) then an IllegalStateException is thrown and nothing is copied.- Parameters:
mrid
- ModuleRevisionIddestFilePattern
- Stringoptions
- RetrieveOptions- Returns:
- int
- Throws:
IOException
- if something goes wrong
-
retrieve
- Throws:
IOException
-
determineArtifactsToCopy
public Map<ArtifactDownloadReport,Set<String>> determineArtifactsToCopy(ModuleRevisionId mrid, String destFilePattern, RetrieveOptions options) throws ParseException, IOException - Throws:
ParseException
IOException
-
retrieve(org.apache.ivy.core.module.id.ModuleRevisionId, RetrieveOptions)
instead