implicit final class DIPlanSyntax extends AnyVal
- Alphabetic
- By Inheritance
- DIPlanSyntax
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def getImports: Iterable[ImportDependency]
Get all imports (unresolved dependencies).
Get all imports (unresolved dependencies).
Note, presence of imports does not *always* mean that a plan is invalid, imports may be fulfilled by a parent
Locator
, by BootstrapContext, or they may be materialized by a custom izumi.distage.model.provisioning.strategies.ImportStrategy- See also
distage.Injector#assert for a check you can use in tests
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def keys: Set[DIKey]
- def render()(implicit ev: Renderable[DIPlan]): String
- def renderAllDeps(): String
- def renderDependees(key: DIKey): String
- def renderDeps(key: DIKey): String
- def replaceWithImports(keys: Set[DIKey]): DIPlan
Be careful, don't use this method blindly, it can disrupt graph connectivity when used improperly.
Be careful, don't use this method blindly, it can disrupt graph connectivity when used improperly.
Proper usage assume that
keys
contains complete subgraph reachable from graph roots.- Note
this processes a complete plan, if you have bindings you can achieve a similar transformation before planning by deleting the
keys
from bindings:module -- keys
- def toString(): String
- Definition Classes
- Any
- def toposort: Seq[DIKey]
Deprecated Value Members
- def collectChildrenKeysSplit[T1, T2](implicit t1: Tag[T1], t2: Tag[T2]): (Set[DIKey], Set[DIKey])
- Annotations
- @deprecated
- Deprecated
(Since version 13/04/2021) should be removed with OrderedPlan
- def definition: ModuleBase
- Annotations
- @deprecated
- Deprecated
(Since version 13/04/2021) should be removed with OrderedPlan
- def steps: Iterable[ExecutableOp]
- Annotations
- @deprecated
- Deprecated
(Since version 13/04/2021) could be removed with OrderedPlan (returned steps are no longer ordered)