final case class PlanCheckMaterializer[AppMain <: CheckableApp, -Cfg <: Any](checkPassed: Boolean, checkedPlugins: Seq[ModuleBase], app: AppMain, roles: String, excludeActivations: String, config: String, checkConfig: Option[Boolean], printBindings: Option[Boolean], onlyWarn: Option[Boolean]) extends Product with Serializable
This implicit performs a compile-time check for a given distage
-based App
when materialized.
The reason to use an implicit macro for this, instead of a direct def-macro is because
implicit macros are more compositional – you may write new functions using the implicit without writing new macros,
by contrast macros can only be composed inside new macros – and this in turn requires separating them into different
sbt
modules.
- AppMain
The application to check, this should be a static object, most often a
main
object inherited from izumi.distage.roles.RoleAppMain- Cfg
Additional configuration options for compile-time checker
- See also
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PlanCheckMaterializer
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new PlanCheckMaterializer(checkPassed: Boolean, checkedPlugins: Seq[ModuleBase], app: AppMain, roles: String, excludeActivations: String, config: String, checkConfig: Option[Boolean], printBindings: Option[Boolean], onlyWarn: Option[Boolean])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val app: AppMain
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def assertAgainAtRuntime(): Unit
- Exceptions thrown
izumi.distage.framework.model.exceptions.PlanCheckException
on found issues
- def checkAgainAtRuntime(): PlanCheckResult
- returns
a list of issues, if any. Does not throw.
- val checkConfig: Option[Boolean]
- val checkPassed: Boolean
- val checkedPlugins: Seq[ModuleBase]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val config: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val excludeActivations: String
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeCfg: Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val onlyWarn: Option[Boolean]
- val printBindings: Option[Boolean]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val roles: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()