ObjectTagContainer

Functions

Link copied to clipboard
abstract operator fun contains(key: String): Boolean

Tests whether this ObjectTagContainer contains a tag with the given key.

abstract fun contains(key: String, action: TagExistsParams.() -> Unit): Boolean
abstract fun contains(key: String, params: TagExistsParams): Boolean
Link copied to clipboard
abstract fun count(): Int

Fetches the number of tags currently attached to this tag container.

abstract fun count(action: TagCountParams.() -> Unit): Int
abstract fun count(params: TagCountParams): Int
Link copied to clipboard
abstract fun delete(vararg keys: String)
abstract fun delete(action: TagDeleteParams.() -> Unit)
abstract fun delete(keys: Iterable<String>)
abstract fun delete(params: TagDeleteParams)
Link copied to clipboard
abstract fun deleteAll()
abstract fun deleteAll(action: DeleteAllTagsParams.() -> Unit)
abstract fun deleteAll(params: DeleteAllTagsParams)
Link copied to clipboard
abstract fun get(vararg keys: String): TagMap
abstract fun get(action: TagGetParams.() -> Unit): TagMap
abstract operator fun get(key: String): String?
abstract fun get(keys: Iterable<String>): TagMap
abstract fun get(params: TagGetParams): TagMap
Link copied to clipboard
abstract fun getAll(): TagMap
Link copied to clipboard
abstract fun put(vararg tags: Pair<String, String>)
abstract fun put(vararg tags: Tag)
abstract fun put(tags: Iterable<Tag>)
abstract fun put(tags: Map<String, String>)
abstract fun put(tags: TagMap)

Puts the given tags onto this tag container.

abstract fun put(action: TagPutParams.() -> Unit)
abstract fun put(params: TagPutParams)

Puts the configured tags onto this tag container.

abstract fun put(key: String, value: String)

Puts the given key/value pair as a tag on this tag container.

Link copied to clipboard
open operator fun set(key: String, value: String)

Puts the given key/value pair as a tag on this tag container.