Action.ActionMethod
Constructor and Description |
---|
ContextConstructorAction(java.lang.String actionName,
ActionPackage pack,
java.lang.String contextId,
long contextExpirationTime,
ContextVisibility contextVisibility,
java.lang.String trigger,
Action.ActionMethod method)
Creates an
Action which defines the constructor of a context. |
Modifier and Type | Method and Description |
---|---|
long |
getContextExpirationTime() |
java.lang.String |
getContextId() |
getActionMethod, getActionParams, getActions, getContextVisibility, getName, getPackage, getTrigger
public ContextConstructorAction(java.lang.String actionName, ActionPackage pack, java.lang.String contextId, long contextExpirationTime, ContextVisibility contextVisibility, java.lang.String trigger, Action.ActionMethod method) throws ActionMalformedException
Action
which defines the constructor of a context.
ContextDependentAction
s with the same context id can only be
found by the Matcher
if a context created through such a context
constructor exists.contextId
- The id of the context to be constructed. Must be unique in ActionPackage
.contextExpirationTime
- The time in milliseconds after which the context expires. -1
for infinity. Must not be null
. ActionMalformedException
Action