org.apache.ivy.core.retrieve

Class RetrieveEngine

public class RetrieveEngine extends Object

Constructor Summary
RetrieveEngine(RetrieveEngineSettings settings, EventManager eventManager)
Method Summary
MapdetermineArtifactsToCopy(ModuleRevisionId mrid, String destFilePattern, RetrieveOptions options)
intretrieve(ModuleRevisionId mrid, String destFilePattern, RetrieveOptions options)
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 ?)

Constructor Detail

RetrieveEngine

public RetrieveEngine(RetrieveEngineSettings settings, EventManager eventManager)

Method Detail

determineArtifactsToCopy

public Map determineArtifactsToCopy(ModuleRevisionId mrid, String destFilePattern, RetrieveOptions options)

retrieve

public int retrieve(ModuleRevisionId mrid, String destFilePattern, RetrieveOptions options)
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.