Class CompareFieldCondition
java.lang.Object
org.apache.ofbiz.minilang.MiniLangElement
org.apache.ofbiz.minilang.method.MethodOperation
org.apache.ofbiz.minilang.method.conditional.CompareFieldCondition
- All Implemented Interfaces:
Conditional
Implements the <if-compare-field> element.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A <if-compare-field> element factory.Nested classes/interfaces inherited from class org.apache.ofbiz.minilang.method.MethodOperation
MethodOperation.DeprecatedOperation, MethodOperation.Factory<M extends MethodOperation>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkCondition
(MethodContext methodContext) boolean
exec
(MethodContext methodContext) Executes the operation.void
Updatesaic
with this element's artifact information.void
prettyPrint
(StringBuilder messageBuffer, MethodContext methodContext) toString()
Methods inherited from class org.apache.ofbiz.minilang.method.MethodOperation
expandedString, rawString
Methods inherited from class org.apache.ofbiz.minilang.MiniLangElement
getLineNumber, getSimpleMethod, getTagName, outputTraceMessage
-
Constructor Details
-
CompareFieldCondition
- Throws:
MiniLangException
-
-
Method Details
-
checkCondition
- Specified by:
checkCondition
in interfaceConditional
- Throws:
MiniLangException
-
exec
Description copied from class:MethodOperation
Executes the operation. Returnstrue
if script execution should continue, orfalse
if script execution should stop.- Specified by:
exec
in classMethodOperation
- Throws:
MiniLangException
-
gatherArtifactInfo
Description copied from class:MiniLangElement
Updatesaic
with this element's artifact information.- Overrides:
gatherArtifactInfo
in classMiniLangElement
- Parameters:
aic
- The artifact information context
-
prettyPrint
- Specified by:
prettyPrint
in interfaceConditional
-
toString
- Overrides:
toString
in classMiniLangElement
-