IvyExtraInfoSpec

Represents a modifiable form of IvyExtraInfo so that "extra" info elements can be configured on an Ivy publication.

Functions

Link copied to clipboard
abstract fun add(namespace: String, name: String, value: String)
Puts the specified extra element into the list of extra info elements.
Link copied to clipboard
abstract fun asMap(): Map<QName, String>
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.
Link copied to clipboard
@Nullable
abstract fun get(name: String): @Nullable String
Returns the value of the element with the unique element name.
@Nullable
abstract fun get(namespace: String, name: String): @Nullable String
Returns the value of the element with the name and namespace provided.