Class CallSimpleMethod
- java.lang.Object
-
- org.apache.ofbiz.minilang.MiniLangElement
-
- org.apache.ofbiz.minilang.method.MethodOperation
-
- org.apache.ofbiz.minilang.method.callops.CallSimpleMethod
-
public final class CallSimpleMethod extends MethodOperation
Implements the <call-simple-method> element.- See Also:
- Mini-language Reference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CallSimpleMethod.CallSimpleMethodFactory
A factory for the <call-simple-method> element.-
Nested classes/interfaces inherited from class org.apache.ofbiz.minilang.method.MethodOperation
MethodOperation.DeprecatedOperation, MethodOperation.Factory<M extends MethodOperation>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Fields inherited from class org.apache.ofbiz.minilang.MiniLangElement
simpleMethod
-
-
Constructor Summary
Constructors Constructor Description CallSimpleMethod(org.w3c.dom.Element element, SimpleMethod simpleMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exec(MethodContext methodContext)
Executes the operation.void
gatherArtifactInfo(ArtifactInfoContext aic)
Updatesaic
with this element's artifact information.java.lang.String
getMethodName()
java.lang.String
getXmlResource()
java.lang.String
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 Detail
-
CallSimpleMethod
public CallSimpleMethod(org.w3c.dom.Element element, SimpleMethod simpleMethod) throws MiniLangException
- Throws:
MiniLangException
-
-
Method Detail
-
exec
public boolean exec(MethodContext methodContext) throws MiniLangException
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
public void gatherArtifactInfo(ArtifactInfoContext aic)
Description copied from class:MiniLangElement
Updatesaic
with this element's artifact information.- Overrides:
gatherArtifactInfo
in classMiniLangElement
- Parameters:
aic
- The artifact information context
-
getMethodName
public java.lang.String getMethodName()
-
getXmlResource
public java.lang.String getXmlResource()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classMiniLangElement
-
-