public class Invoke extends NamelistHolder implements PathResolverHolder, ContentContainer
Constructor and Description |
---|
Invoke() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Enforce identity equality only
|
void |
execute(ActionExecutionContext axctx)
Execute this action instance.
|
Boolean |
getAutoForward() |
Content |
getContent()
Returns the content
|
String |
getCurrentSCXMLExecutionContextKey() |
Finalize |
getFinalize()
Get the Finalize for this Invoke.
|
String |
getId()
Get the identifier for this invoke (may be null).
|
String |
getIdlocation() |
EnterableState |
getParentEnterableState()
Get the parent EnterableState.
|
PathResolver |
getPathResolver()
Get the
PathResolver . |
String |
getSrc()
Get the URL for the external service.
|
String |
getSrcexpr()
Get the expression that evaluates to the source URL for the
external service.
|
String |
getType()
Get the type for this <invoke> element.
|
String |
getTypeexpr() |
int |
hashCode()
Enforce returning identity based hascode
|
boolean |
isAutoForward() |
void |
setAutoForward(Boolean autoForward)
Set the flag indicating whether to forward events to the invoked process.
|
void |
setContent(Content content)
Sets the content
|
void |
setFinalize(Finalize finalize)
Set the Finalize for this Invoke.
|
void |
setId(String id)
Set the identifier for this invoke.
|
void |
setIdlocation(String idlocation)
Set the idlocation expression
|
void |
setParentEnterableState(EnterableState parent)
Set the parent EnterableState.
|
void |
setPathResolver(PathResolver pathResolver)
Set the
PathResolver . |
void |
setSrc(String src)
Set the URL for the external service.
|
void |
setSrcexpr(String srcexpr)
Set the expression that evaluates to the source URL for the
external service.
|
void |
setType(String type)
Set the type for this <invoke> element.
|
void |
setTypeexpr(String typeexpr)
Sets the type expression
|
addNamelistDataToPayload, getNamelist, setNamelist
addParamsToPayload, getParams
addToPayload, clonePayloadValue, makeEventPayload
getNamespaces, getNamespacesKey, getParent, getTextContentIfNodeResult, setNamespaces, setParent
public Invoke()
public final String getId()
public final void setId(String id)
id
- The id to set.public String getIdlocation()
public void setIdlocation(String idlocation)
idlocation
- The idlocation expressionpublic final String getType()
public final void setType(String type)
type
- The type to set.public String getTypeexpr()
public void setTypeexpr(String typeexpr)
typeexpr
- The type expression to setpublic final void setSrc(String src)
src
- The source URL.public final String getSrcexpr()
public final void setSrcexpr(String srcexpr)
srcexpr
- The source expression.public final boolean isAutoForward()
public final Boolean getAutoForward()
public final void setAutoForward(Boolean autoForward)
autoForward
- the flagpublic final Finalize getFinalize()
public final void setFinalize(Finalize finalize)
finalize
- The Finalize for this Invoke.public PathResolver getPathResolver()
PathResolver
.getPathResolver
in interface PathResolverHolder
public void setPathResolver(PathResolver pathResolver)
PathResolver
.setPathResolver
in interface PathResolverHolder
pathResolver
- The pathResolver to set.public final int hashCode()
hashCode
in class Object
System.identityHashCode(this)
public Content getContent()
getContent
in interface ContentContainer
public String getCurrentSCXMLExecutionContextKey()
public void setContent(Content content)
setContent
in interface ContentContainer
content
- the content to setpublic EnterableState getParentEnterableState()
getParentEnterableState
in class Action
public void setParentEnterableState(EnterableState parent)
parent
- The parent state to setpublic void execute(ActionExecutionContext axctx) throws ModelException
Action
execute
in class Action
axctx
- The ActionExecutionContext for this execution instanceModelException
- If the execution causes the model to enter
a non-deterministic state.Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.