public class IvyModuleLoaderImpl extends java.lang.Object implements IvyModuleLoader
IvyModuleLoader based on the Ivy libraries. This class should not be
loaded until the Ivy libraries are available on the class path.| Constructor and Description |
|---|
IvyModuleLoaderImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ConfigurationSpec> |
getConfigurations()
Get the configurations from the Ivy module, possibly loading the file first.
|
java.util.Collection<ModuleDependencySpec> |
getDependencies()
Get the dependencies from the Ivy module, possibly loading the file first.
|
java.lang.String |
getModuleName()
Get the value of the module attribute from the Ivy module's info section,
possibly loading the file first.
|
java.lang.String |
getOrganisation()
Get the value of the organisation attribute from the Ivy module's info section,
possibly loading the file first.
|
java.lang.String |
getRevision()
Get the value of the revision attribute from the Ivy module's info section,
possibly loading the file first.
|
void |
init(java.io.File pIvyModuleFile,
java.io.File pIvySettingsFile)
Specify the Ivy module file to load and any settings file to apply when loading the file.
|
public void init(java.io.File pIvyModuleFile,
java.io.File pIvySettingsFile)
IvyModuleLoaderinit in interface IvyModuleLoaderpIvyModuleFile - The Ivy module file.pIvySettingsFile - Any settings file to use. If null, the default Ivy settings will be
used.public java.util.Collection<ModuleDependencySpec> getDependencies()
IvyModuleLoadergetDependencies in interface IvyModuleLoaderModuleDependencySpec, one for each dependency in the Ivy
module. The returned collection will never be null but may be empty.public java.util.Collection<ConfigurationSpec> getConfigurations()
IvyModuleLoadergetConfigurations in interface IvyModuleLoaderConfigurationSpec, one for each configuration in the Ivy
module. The returned collection will never be null but may be empty.public java.lang.String getOrganisation()
IvyModuleLoadergetOrganisation in interface IvyModuleLoaderpublic java.lang.String getModuleName()
IvyModuleLoadergetModuleName in interface IvyModuleLoaderpublic java.lang.String getRevision()
IvyModuleLoadergetRevision in interface IvyModuleLoader