CopySpecs

class CopySpecs(all: Boolean) : SearchSpecs

Defines which bindings are to be copied from a parent DI to a child DI.

Constructors

CopySpecs
Link copied to clipboard
common
fun CopySpecs(all: Boolean)

Properties

all
Link copied to clipboard
common
val all: Boolean

Whether the specs are describing multiple matching bindings or only one.

argType
Link copied to clipboard
common
var argType: TypeToken<*>? = null

The type of argument the bindings must take.

contextType
Link copied to clipboard
common
var contextType: TypeToken<*>? = null

The type of context the bindings must take.

tag
Link copied to clipboard
common
var tag: Any?

The tag the bindings must be associated with.

type
Link copied to clipboard
common
var type: TypeToken<*>? = null

The type the bindings must return.