case class Context(id: String, variables: Map[String, Any], parentContext: Option[Context]) extends Product with Serializable
Context is container for variables used in expression evaluation
- id
correlation id/trace id used for tracing (logs, error presentation) and for tests mechanism, it should be always defined
- variables
variables available in evaluation
- parentContext
context used for scopes handling, mainly for fragment invocation purpose
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Context
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Context(id: String, variables: Map[String, Any], parentContext: Option[Context])
- id
correlation id/trace id used for tracing (logs, error presentation) and for tests mechanism, it should be always defined
- variables
variables available in evaluation
- parentContext
context used for scopes handling, mainly for fragment invocation purpose
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
- def allVariables: Map[String, Any]
- def appendIdSuffix(suffix: String): Context
- def apply[T](name: String): T
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearUserVariables: Context
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def get[T](name: String): Option[T]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def getOrElse[T](name: String, default: => T): T
- val id: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def modifyOptionalVariable[T](name: String, f: (Option[T]) => T): Context
- def modifyVariable[T](name: String, f: (T) => T): Context
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val parentContext: Option[Context]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def pushNewContext(variables: Map[String, Any]): Context
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val variables: Map[String, Any]
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withVariable(name: String, value: Any): Context
- def withVariables(otherVariables: Map[String, Any]): Context
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)