Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait CachedHashcodeclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
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
Attributes
- See also:
distage.Injector#assert for a check you can use in tests
Effective bindings of this plan
Effective bindings of this plan
Attributes
Original bindings of this plan
Original bindings of this plan
Attributes
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
x
of typeAny
,x.equals(x)
should returntrue
. - It is symmetric: for any instances
x
andy
of typeAny
,x.equals(y)
should returntrue
if and only ify.equals(x)
returnstrue
. - It is transitive: for any instances
x
,y
, andz
of typeAny
ifx.equals(y)
returnstrue
andy.equals(z)
returnstrue
, thenx.equals(z)
should returntrue
.
If you override this method, you should verify that your implementation remains an equivalence relation.
Additionally, when overriding this method it is usually necessary to override hashCode
to ensure that
objects which are "equal" (o1.equals(o2)
returns true
) hash to the same scala.Int.
(o1.hashCode.equals(o2.hashCode)
).
Attributes
- that
the object to compare against this object for equality.
- Returns:
true
if the receiver object is equivalent to the argument;false
otherwise.- Definition Classes
- Equals -> Any
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
)
Attributes
- F
effect type to check against
- Returns:
a non-empty list of operations incompatible with
F
if present
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.
Attributes
- Note:
this processes a completed plan, you can achieve a similar transformation before planning by removing the
keys
from ModuleBase:module -- keys
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns:
a string representation of the object.
- Definition Classes
- Any
This is only used by plan formatter
This is only used by plan formatter
Attributes
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
Attributes
- Returns:
a non-empty list of unresolved imports if present
- See also:
distage.Injector#assert for a check you can use in tests
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Inherited fields
Calculate a hash code value for the object.
Calculate a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)
) yet
not be equal (o1.equals(o2)
returns false
). A degenerate implementation could always return 0
.
However, it is required that if two objects are equal (o1.equals(o2)
returns true
) that they have
identical hash codes (o1.hashCode.equals(o2.hashCode)
). Therefore, when overriding this method, be sure
to verify that the behavior is consistent with the equals
method.
Attributes
- Returns:
the hash code value for this object.
- Inherited from:
- CachedHashcode