Package org.gradle.api.artifacts.ivy
Interface IvyModuleDescriptor
-
public interface IvyModuleDescriptor
The metadata about an Ivy module that acts as an input to a component metadata rule.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getBranch()
Returns the branch attribute of the info element in this descriptor.IvyExtraInfo
getExtraInfo()
Returns anIvyExtraInfo
representing the "extra" info declared in this descriptor.java.lang.String
getIvyStatus()
Returns the status attribute of the info element in this descriptor.
-
-
-
Method Detail
-
getBranch
@Nullable java.lang.String getBranch()
Returns the branch attribute of the info element in this descriptor.- Returns:
- the branch for this descriptor, or null if no branch was declared in the descriptor.
-
getIvyStatus
java.lang.String getIvyStatus()
Returns the status attribute of the info element in this descriptor. Note that this always represents the status from the ivy.xml for this module. It is not affected by changes to the status made via theComponentMetadataDetails
interface in a component metadata rule.- Returns:
- the status for this descriptor
-
getExtraInfo
IvyExtraInfo getExtraInfo()
Returns anIvyExtraInfo
representing the "extra" info declared in this descriptor.The extra info is the set of all non-standard subelements of the info element.
- Returns:
- an
IvyExtraInfo
representing the extra info declared in this descriptor
-
-