Package hudson.ivy
Class ModuleDependency
- java.lang.Object
-
- hudson.ivy.ModuleDependency
-
- All Implemented Interfaces:
Serializable
public final class ModuleDependency extends Object implements Serializable
organisation + name + revision + branch.- Author:
- TimothyBingaman
- See Also:
ModuleName
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ModuleDependency(ModuleName name, String revision, String branch)
ModuleDependency(String organisation, String name, String revision, String branch)
ModuleDependency(org.apache.ivy.core.module.descriptor.DependencyDescriptor dep)
ModuleDependency(org.apache.ivy.core.module.descriptor.ModuleDescriptor module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
ModuleName
getName()
int
hashCode()
ModuleDependency
withUnknownRevision()
Returns organisation+name+branch with unknown revision.ModuleDependency
withUnknownRevisionAndBranch()
Returns organisation+name with unknown revision and branch.
-
-
-
Field Detail
-
organisation
public final String organisation
-
name
public final String name
-
revision
public final String revision
-
branch
public final String branch
-
UNKNOWN
public static final String UNKNOWN
For compatibility reason, this value may be used in the revision and branch fields to indicate that they are unknown.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ModuleDependency
public ModuleDependency(String organisation, String name, String revision, String branch)
-
ModuleDependency
public ModuleDependency(ModuleName name, String revision, String branch)
-
ModuleDependency
public ModuleDependency(org.apache.ivy.core.module.descriptor.DependencyDescriptor dep)
-
ModuleDependency
public ModuleDependency(org.apache.ivy.core.module.descriptor.ModuleDescriptor module)
-
-
Method Detail
-
getName
public ModuleName getName()
-
withUnknownRevision
public ModuleDependency withUnknownRevision()
Returns organisation+name+branch with unknown revision.
-
withUnknownRevisionAndBranch
public ModuleDependency withUnknownRevisionAndBranch()
Returns organisation+name with unknown revision and branch.
-
-