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
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def get[T](name: String): Option[T]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val parentContext: Option[Context]
- 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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- 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
- Deprecated
(Since version ) see corresponding Javadoc for more information.