# IvyExtraInfoSpec

interface IvyExtraInfoSpec : IvyExtraInfo(source)

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

#### Since

2.1

## Functions

add
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.
asMap
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.
get
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.