Packages

c

izumi.distage.model.plan.Plan

DIPlanAssertionSyntax

implicit final class DIPlanAssertionSyntax extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DIPlanAssertionSyntax
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DIPlanAssertionSyntax(plan: Plan)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def allImports: 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

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. def incompatibleEffectType[F[_]](implicit arg0: TagK[F]): Option[NEList[MonadicOp]]

    Check for any make[_].fromEffect or make[_].fromResource bindings that are incompatible with the passed F.

    Check for any make[_].fromEffect or make[_].fromResource bindings that are incompatible with the passed F.

    An effect is compatible if it's a subtype of F or is a type equivalent to izumi.fundamentals.platform.functional.Identity (e.g. cats.Id)

    F

    effect type to check against

    returns

    a non-empty list of operations incompatible with F if present

  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def toString(): String
    Definition Classes
    Any
  10. def unresolvedImports(ignoredImports: (DIKey) => Boolean = Set.empty): Option[NEList[ImportDependency]]

    Check for any unresolved dependencies.

    Check for any unresolved dependencies.

    If this returns None then the wiring is generally correct, modulo runtime exceptions in user code, 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

    a non-empty list of unresolved imports if present

    See also

    distage.Injector#assert for a check you can use in tests

Inherited from AnyVal

Inherited from Any

Ungrouped