org.apache.ivy.core.module.descriptor
public class OverrideDependencyDescriptorMediator extends Object implements DependencyDescriptorMediator
Constructor Summary | |
---|---|
OverrideDependencyDescriptorMediator(String branch, String version)
Constructs a new instance.
|
Method Summary | |
---|---|
String | getBranch()
Returns the branch this mediator will give to mediated descriptors, or null
if this mediator does not override branch.
|
String | getVersion()
Returns the version this mediator will give to mediated descriptors, or null
if this mediator does not override version.
|
DependencyDescriptor | mediate(DependencyDescriptor dd) |
Parameters: branch
the branch to give to mediated dependency descriptors, null
to keep
the original branch. version
the version to give to mediated dependency descriptors, null
to
keep the original one.
null
if this mediator does not override branch.
Returns: the branch this mediator will give to mediated descriptors.
null
if this mediator does not override version.
Returns: the version this mediator will give to mediated descriptors.