Class IfInstanceOf
java.lang.Object
org.apache.ofbiz.minilang.MiniLangElement
org.apache.ofbiz.minilang.method.MethodOperation
org.apache.ofbiz.minilang.method.ifops.IfInstanceOf
Implements the <if-instance-of> element.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A <if-instance-of> 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
exec
(MethodContext methodContext) Executes the operation.void
Updatesaic
with this element's artifact information.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
-
IfInstanceOf
- Throws:
MiniLangException
-
-
Method Details
-
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
-
toString
- Overrides:
toString
in classMiniLangElement
-