Package org.gradle.api.artifacts.ivy
Schnittstelle IvyExtraInfo
- Alle bekannten Unterschnittstellen:
IvyExtraInfoSpec
public interface IvyExtraInfo
Represents the set of "extra" info elements in the Ivy descriptor. These elements
are children of the "ivy" element, but are not defined in the Ivy schema and come
from other namespaces.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungasMap()Returns a map view of the 'extra' info elements such that each key is a javax.xml.namespace.QName representing the namespace and name of the element and each value is the content of the element.Returns the value of the element with the unique element name.Returns the value of the element with the name and namespace provided.
-
Methodendetails
-
get
Returns the value of the element with the unique element name. If there are multiple elements with the same element name, in different namespaces, aInvalidUserDataExceptionwill be thrown.- Parameter:
name- The unique name of the element whose value should be returned- Gibt zurück:
- The value of the element, or null if there is no such element.
- Löst aus:
InvalidUserDataException
-
get
Returns the value of the element with the name and namespace provided.- Parameter:
namespace- The namespace of the element whose value should be returnedname- The name of the element whose value should be returned- Gibt zurück:
- The value of the element, or null if there is no such element.
-
asMap
Returns a map view of the 'extra' info elements such that each key is a javax.xml.namespace.QName representing the namespace and name of the element and each value is the content of the element.- Gibt zurück:
- The map view of the extra info elements. Returns an empty map if there are no elements.
-