DIPlanSyntax

izumi.distage.model.plan.Plan$.DIPlanSyntax
final implicit class DIPlanSyntax(plan: Plan) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Effective bindings of this plan

Effective bindings of this plan

Attributes

Original bindings of this plan

Original bindings of this plan

Attributes

def keys: Set[DIKey]
def render()(implicit ev: Renderable[Plan]): String
def renderAllDeps(): String
def renderDependees(key: DIKey): String
def renderDeps(key: DIKey): String
def replaceWithImports(keys: Set[DIKey]): Plan

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

def toposort: Seq[DIKey]

This is only used by plan formatter

This is only used by plan formatter

Attributes