| java.lang.Object org.apache.ivy.Ivy14
Ivy14 | public class Ivy14 (Code) | | This class can be used for easy migration from Ivy 1.4 API.
Indeed, Ivy 2.0 API has changed substantially, so it can take time to migrate existing code using
Ivy 1.4 API to the new API. Using this class it's really easy: replace your instance of Ivy by an
instance of this class.
For instance, where you were doing:
Ivy ivy = new Ivy();
do instead:
Ivy14 ivy = new Ivy14();
And that should be enough in most cases!
|
Method Summary | |
public boolean | check(URL ivyFile, String resolvername) | public void | configure(File settingsFile) | public void | configure(URL settingsURL) | public void | configureDefault() | public void | deliver(ModuleRevisionId mrid, String revision, File cache, String destIvyPattern, String status, Date pubdate, PublishingDependencyRevisionResolver pdrResolver, boolean validate, boolean resolveDynamicRevisions) | public void | deliver(ModuleRevisionId mrid, String revision, File cache, String destIvyPattern, String status, Date pubdate, PublishingDependencyRevisionResolver pdrResolver, boolean validate) | public Map | determineArtifactsToCopy(ModuleId moduleId, String[] confs, File cache, String destFilePattern, String destIvyPattern, Filter artifactFilter) | public Map | determineArtifactsToCopy(ModuleId moduleId, String[] confs, File cache, String destFilePattern, String destIvyPattern) | public ArtifactDownloadReport | download(Artifact artifact, File cache, boolean useOrigin) | public ResolvedModuleRevision | findModule(ModuleRevisionId id) | public IvyNode[] | getDependencies(ModuleDescriptor md, String[] confs, File cache, Date date, ResolveReport report, boolean validate, boolean transitive) | public IvyNode[] | getDependencies(ModuleDescriptor md, String[] confs, File cache, Date date, ResolveReport report, boolean validate) | public IvyNode[] | getDependencies(URL ivySource, String[] confs, File cache, Date date, boolean validate) | public String | getVariable(String name) | public ResolveReport | install(ModuleRevisionId mrid, String from, String to, boolean transitive, boolean validate, boolean overwrite, Filter artifactFilter, File cache, String matcherName) | public void | interrupt() | public void | interrupt(Thread operatingThread) | public boolean | isInterrupted() | public ModuleEntry[] | listModuleEntries(OrganisationEntry org) | public ModuleId[] | listModules(ModuleId criteria, PatternMatcher matcher) | public ModuleRevisionId[] | listModules(ModuleRevisionId criteria, PatternMatcher matcher) | public String[] | listModules(String org) | public OrganisationEntry[] | listOrganisationEntries() | public String[] | listOrganisations() | public RevisionEntry[] | listRevisionEntries(ModuleEntry module) | public String[] | listRevisions(String org, String module) | public String[] | listTokenValues(String token, Map otherTokenValues) | public Collection | publish(ModuleDescriptor md, DependencyResolver resolver, Collection srcArtifactPattern, String srcIvyPattern, Artifact[] extraArtifacts, boolean overwrite, String conf) | public Collection | publish(ModuleRevisionId mrid, String pubrevision, File cache, Collection srcArtifactPattern, String resolverName, String srcIvyPattern, String status, Date pubdate, Artifact[] extraArtifacts, boolean validate, boolean overwrite, boolean update, String conf) | public Collection | publish(ModuleRevisionId mrid, String pubrevision, File cache, String srcArtifactPattern, String resolverName, String srcIvyPattern, boolean validate, boolean overwrite) | public Collection | publish(ModuleRevisionId mrid, String pubrevision, File cache, String srcArtifactPattern, String resolverName, String srcIvyPattern, boolean validate) | public Collection | publish(ModuleRevisionId mrid, String pubrevision, File cache, String srcArtifactPattern, String resolverName, String srcIvyPattern, String status, Date pubdate, Artifact[] extraArtifacts, boolean validate, boolean overwrite, boolean update, String conf) | public ResolveReport | resolve(File ivySource) | public ResolveReport | resolve(ModuleDescriptor md, String[] confs, File cache, Date date, boolean validate, boolean useCacheOnly, boolean transitive, boolean useOrigin, boolean download, boolean outputReport, Filter artifactFilter) | public ResolveReport | resolve(ModuleDescriptor md, String[] confs, File cache, Date date, boolean validate, boolean useCacheOnly, boolean transitive, boolean download, boolean outputReport, Filter artifactFilter) | public ResolveReport | resolve(ModuleDescriptor md, String[] confs, File cache, Date date, boolean validate, boolean useCacheOnly, boolean transitive, Filter artifactFilter) | public ResolveReport | resolve(ModuleDescriptor md, String[] confs, File cache, Date date, boolean validate, boolean useCacheOnly, Filter artifactFilter) | public ResolveReport | resolve(ModuleRevisionId mrid, String[] confs, boolean transitive, boolean changing, File cache, Date date, boolean validate, boolean useCacheOnly, boolean useOrigin, Filter artifactFilter) | public ResolveReport | resolve(ModuleRevisionId mrid, String[] confs, boolean transitive, boolean changing, File cache, Date date, boolean validate, boolean useCacheOnly, Filter artifactFilter) | public ResolveReport | resolve(ModuleRevisionId mrid, String[] confs) | public ResolveReport | resolve(URL ivySource, String revision, String[] confs, File cache, Date date, boolean validate, boolean useCacheOnly, boolean transitive, boolean useOrigin, Filter artifactFilter) | public ResolveReport | resolve(URL ivySource, String revision, String[] confs, File cache, Date date, boolean validate, boolean useCacheOnly, boolean transitive, Filter artifactFilter) | public ResolveReport | resolve(URL ivySource, String revision, String[] confs, File cache, Date date, boolean validate, boolean useCacheOnly, Filter artifactFilter) | public ResolveReport | resolve(URL ivySource, String revision, String[] confs, File cache, Date date, boolean validate, boolean useCacheOnly) | public ResolveReport | resolve(URL ivySource, String revision, String[] confs, File cache, Date date, boolean validate) | public ResolveReport | resolve(URL ivySource) | public int | retrieve(ModuleId moduleId, String[] confs, File cache, String destFilePattern, String destIvyPattern, Filter artifactFilter, boolean sync, boolean useOrigin, boolean makeSymlinks) | public int | retrieve(ModuleId moduleId, String[] confs, File cache, String destFilePattern, String destIvyPattern, Filter artifactFilter, boolean sync, boolean useOrigin) | public int | retrieve(ModuleId moduleId, String[] confs, File cache, String destFilePattern, String destIvyPattern, Filter artifactFilter) | public int | retrieve(ModuleId moduleId, String[] confs, File cache, String destFilePattern, String destIvyPattern) | public int | retrieve(ModuleId moduleId, String[] confs, File cache, String destFilePattern) | public void | setVariable(String varName, String value) | public List | sortModuleDescriptors(Collection moduleDescriptors) | public List | sortNodes(Collection nodes) | public String | substitute(String str) |
interrupt | public void interrupt()(Code) | | |
interrupt | public void interrupt(Thread operatingThread)(Code) | | |
isInterrupted | public boolean isInterrupted()(Code) | | |
publish | public Collection publish(ModuleRevisionId mrid, String pubrevision, File cache, Collection srcArtifactPattern, String resolverName, String srcIvyPattern, String status, Date pubdate, Artifact[] extraArtifacts, boolean validate, boolean overwrite, boolean update, String conf) throws IOException(Code) | | |
publish | public Collection publish(ModuleRevisionId mrid, String pubrevision, File cache, String srcArtifactPattern, String resolverName, String srcIvyPattern, String status, Date pubdate, Artifact[] extraArtifacts, boolean validate, boolean overwrite, boolean update, String conf) throws IOException(Code) | | |
resolve | public ResolveReport resolve(ModuleDescriptor md, String[] confs, File cache, Date date, boolean validate, boolean useCacheOnly, boolean transitive, boolean useOrigin, boolean download, boolean outputReport, Filter artifactFilter) throws ParseException, IOException(Code) | | |
resolve | public ResolveReport resolve(ModuleDescriptor md, String[] confs, File cache, Date date, boolean validate, boolean useCacheOnly, boolean transitive, boolean download, boolean outputReport, Filter artifactFilter) throws ParseException, IOException(Code) | | |
resolve | public ResolveReport resolve(ModuleRevisionId mrid, String[] confs, boolean transitive, boolean changing, File cache, Date date, boolean validate, boolean useCacheOnly, boolean useOrigin, Filter artifactFilter) throws ParseException, IOException(Code) | | |
resolve | public ResolveReport resolve(URL ivySource, String revision, String[] confs, File cache, Date date, boolean validate, boolean useCacheOnly, boolean transitive, boolean useOrigin, Filter artifactFilter) throws ParseException, IOException(Code) | | |
|
|