Builder

class Builder : Taggable.Builder<AttributeSpec.Builder>

Functions

addArgument
Link copied to clipboard
fun addArgument(code: String): AttributeSpec.Builder
addArguments
Link copied to clipboard
fun addArguments(vararg codes: String): AttributeSpec.Builder
fun addArguments(codes: List<String>): AttributeSpec.Builder
build
Link copied to clipboard
fun build(): AttributeSpec
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
tag
Link copied to clipboard
fun <T : Any> tag(type: Class<T>, tag: T?): AttributeSpec.Builder
Attaches tag to the request using type as a key.
fun <T : Any> tag(type: KClass<T>, tag: T?): AttributeSpec.Builder
Attaches tag to the request using type as a key.
toString
Link copied to clipboard
open fun toString(): String

Properties

identifier
Link copied to clipboard
val identifier: CodeBlock
tags
Link copied to clipboard
val tags: MutableMap<KClass<*>, Any>
Mutable map of the current tags this builder contains.

Extensions

tag
Link copied to clipboard
inline fun <T : Any> AttributeSpec.Builder.tag(tag: T?): AttributeSpec.Builder
Attaches tag to the request using T as a key.