Packages

final case class OrderedPlan(steps: Vector[ExecutableOp], declaredRoots: Set[DIKey], topology: PlanTopology) extends AbstractPlan[ExecutableOp] with OrderedPlanOps with Product with Serializable

Linearized graph which is ready to be consumed by linear executors

May contain cyclic dependencies resolved with proxies

Linear Supertypes
Serializable, Serializable, Product, Equals, OrderedPlanOps, AbstractPlan[ExecutableOp], PlanLazyOps[ExecutableOp], AbstractPlanExtendedAPI[ExecutableOp], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OrderedPlan
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. OrderedPlanOps
  7. AbstractPlan
  8. PlanLazyOps
  9. AbstractPlanExtendedAPI
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OrderedPlan(steps: Vector[ExecutableOp], declaredRoots: Set[DIKey], topology: PlanTopology)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ++(that: AbstractPlan[ExecutableOp]): SemiPlan
    Definition Classes
    AbstractPlanExtendedAPI
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. final def assertImportsResolved: Either[InvalidPlanException, OrderedPlan]

    Same as unresolvedImports, but returns a pretty-printed exception if there are unresolved imports

    Same as unresolvedImports, but returns a pretty-printed exception if there are unresolved imports

    Definition Classes
    OrderedPlanOps
  7. final def assertImportsResolvedOrThrow(): Unit

    Same as unresolvedImports, but throws an InvalidPlanException if there are unresolved imports

    Same as unresolvedImports, but throws an InvalidPlanException if there are unresolved imports

    Definition Classes
    OrderedPlanOps
    Exceptions thrown
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. final def collect(f: PartialFunction[SemiplanOp, SemiplanOp]): SemiPlan
    Definition Classes
    AbstractPlanExtendedAPI
  10. final def collectChildren[T](implicit arg0: Tag[T]): Seq[ExecutableOp]
    Definition Classes
    AbstractPlanExtendedAPI
  11. val declaredRoots: Set[DIKey]
  12. final def definition: ModuleBase
    Definition Classes
    PlanLazyOps
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def filter[T](implicit arg0: Tag[T]): Seq[ExecutableOp]
    Definition Classes
    AbstractPlanExtendedAPI
  15. final def flatMap(f: (SemiplanOp) ⇒ Seq[SemiplanOp]): SemiPlan
    Definition Classes
    AbstractPlanExtendedAPI
  16. final def foldLeft[T](z: T, f: (T, ExecutableOp) ⇒ T): T
    Definition Classes
    AbstractPlanExtendedAPI
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def getImports: Seq[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

    Definition Classes
    AbstractPlanExtendedAPI
    See also

    izumi.distage.model.plan.impl.OrderedPlanOps#unresolvedImports for a check you can use in tests

  19. final def index: Map[DIKey, ExecutableOp]
    Definition Classes
    PlanLazyOps
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def keys: Set[DIKey]
    Definition Classes
    AbstractPlanExtendedAPI
  22. final def locateImports(locator: Locator): OrderedPlan
    Definition Classes
    OrderedPlanOps
  23. final def map(f: (SemiplanOp) ⇒ SemiplanOp): SemiPlan
    Definition Classes
    AbstractPlanExtendedAPI
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def replaceWithImports(keys: Set[DIKey]): OrderedPlan

    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.

    Definition Classes
    OrderedPlanOps
  28. final def repr: String

    A long-form rendering of the Plan

    A long-form rendering of the Plan

    Definition Classes
    AbstractPlan
  29. final def resolveImport[T](id: String)(instance: T)(implicit arg0: Tag[T]): OrderedPlan
    Definition Classes
    OrderedPlanOps
  30. final def resolveImport[T](instance: T)(implicit arg0: Tag[T]): OrderedPlan
    Definition Classes
    OrderedPlanOps
  31. final def resolveImports(f: PartialFunction[ImportDependency, Any]): OrderedPlan
    Definition Classes
    OrderedPlanOps
  32. val steps: Vector[ExecutableOp]
    Definition Classes
    OrderedPlanAbstractPlan
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. final def toSemi: SemiPlan
    Definition Classes
    OrderedPlanOps
  35. final def toString(): String

    Print while omitting package names for unambiguous types

    Print while omitting package names for unambiguous types

    Definition Classes
    OrderedPlanOps → Any
  36. val topology: PlanTopology
  37. final def unresolvedImports: Either[Seq[ImportDependency], OrderedPlan]

    Check for any unresolved dependencies, if this returns Right then the wiring is generally correct, modulo runtime exceptions in constructors, and Injector.produce should succeed.

    Check for any unresolved dependencies, if this returns Right then the wiring is generally correct, modulo runtime exceptions in constructors, and Injector.produce should succeed.

    However, 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

    returns

    this plan or a list of unresolved parameters

    Definition Classes
    OrderedPlanOps
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from OrderedPlanOps

Inherited from AbstractPlan[ExecutableOp]

Inherited from PlanLazyOps[ExecutableOp]

Inherited from AbstractPlanExtendedAPI[ExecutableOp]

Inherited from AnyRef

Inherited from Any

Ungrouped