java.lang.Object | ||
↳ | org.springframework.expression.spel.ast.SpelNodeImpl | |
↳ | org.springframework.expression.spel.ast.Ternary |
Represents a ternary expression, for example: "someCheck()?true:false".
[Expand]
Inherited Fields | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.expression.spel.ast.SpelNodeImpl
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Evaluate the condition and if true evaluate the first alternative, otherwise evaluate the second alternative.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.expression.spel.ast.SpelNodeImpl
| |||||||||||||||||||||||||||||||||||||||
From class java.lang.Object | |||||||||||||||||||||||||||||||||||||||
From interface
org.springframework.expression.spel.SpelNode
|
Evaluate the condition and if true evaluate the first alternative, otherwise evaluate the second alternative.
state | the expression state |
---|
EvaluationException | if the condition does not evaluate correctly to a boolean or there is a problem executing the chosen alternative |
---|