izumi.distage.model.plan

Members list

Type members

Classlikes

sealed abstract class ExecutableOp extends Product, CachedProductHashcode

Attributes

Companion
object
Supertypes
trait CachedProductHashcode
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object ExecutableOp

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class Plan(plan: DG[DIKey, ExecutableOp], input: PlannerInput) extends CachedHashcode

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait CachedHashcode
class Object
trait Matchable
class Any
Show all
object Plan

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Plan.type
sealed trait Roots

Roots designate the components to choose as "garbage collection roots" for the object graph.

Roots designate the components to choose as "garbage collection roots" for the object graph.

The purpose of the Roots/garbage collection mechanism is to allow you to pass to the injector more bindings than strictly necessary and defer the choice of what specific components to construct from those bindings. Effectively, this selects a sub-graph of the largest possible object graph that can be described by bindings.

Tests in distage-testkit and roles in distage-framework are built on this mechanism. distage-testkit's test cases designate their parameters as roots and instantiate only the sub-graph required for a given test case. distage-framework's roles are effectively just allow you to choose root components and pass them command-line parameters.

Attributes

See also
Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Everything
class Of
object Roots

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Roots.type
sealed trait Wiring

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Effect
class Resource
class Function
class Instance
class Reference
Show all
object Wiring

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Wiring.type

Deprecated types

Attributes

Deprecated
true
type DIPlan = Plan

Attributes

Deprecated
true
type OrderedPlan = Plan

Attributes

Deprecated
true
type SemiPlan = Plan

Attributes

Deprecated
true

Value members

Deprecated fields

lazy val AbstractPlan: Plan.type

Attributes

Deprecated
true
lazy val DIPlan: Plan.type

Attributes

Deprecated
true
lazy val OrderedPlan: Plan.type

Attributes

Deprecated
true
lazy val SemiPlan: Plan.type

Attributes

Deprecated
true