AxisDIKeys

izumi.distage.testkit.model.TestConfig.AxisDIKeys
See theAxisDIKeys companion object
final case class AxisDIKeys(keyMap: Map[Set[AxisChoice], Set[DIKey]]) extends AnyVal

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def +(key: DIKey): AxisDIKeys
def +(axisKey: (AxisChoice, DIKey)): AxisDIKeys
def +(setAxisKey: (Set[AxisChoice], DIKey))(implicit d: DummyImplicit): AxisDIKeys
def ++(that: AxisDIKeys): AxisDIKeys
def getActiveKeys(activation: Activation): Set[DIKey]

Consider a section to be activated if for each Axis, one of the Axis Choices in the section is present in the Activation

Consider a section to be activated if for each Axis, one of the Axis Choices in the section is present in the Activation

  • empty section is always activated
  • axis values for different axes are implicitly under an AND relationship - all axes must be present in Activation to pass
  • axis values for the same axis are implicitly under an OR relationship - Activation must contain one of the axis choices for the same axis to pass

Note that this rule currently differs from the rule of activation for bindings themselves, specifically you cannot specify multiple axis values for the same axis on bindings.

Attributes

See also

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product