public interface Action
| Modifier and Type | Interface and Description |
|---|---|
static class |
Action.ActionException
Represents an action execution error.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(com.jscape.inet.mftserver.operation.Domain domain,
com.jscape.inet.mft.events.DomainEvent<?> event,
ExpressionContext expressionContext,
java.lang.String triggerName,
java.lang.String triggerTaskId) |
java.lang.String |
getDescription()
Returns action description used in Manager GUI.
|
java.lang.String |
getGroup()
Returns action group name.
|
int |
getPriority()
Returns the action priority.
|
java.lang.String |
getPropertyDescription(java.lang.String propertyName)
Returns action property description.
|
PropertyDescriptor[] |
getPropertyDescriptors()
Returns action properties descriptors used for creating
action properties panel in Manager GUI.
|
java.lang.String |
getPropertyExample(java.lang.String propertyName)
Returns action property usage example.
|
java.lang.Object |
getResult() |
java.lang.String |
getResultMessage()
Returns result message for logging.
|
java.lang.String |
getTriggerErrorMessage()
Returns an error message passed to Trigger Error Event.
|
java.lang.String |
getTriggerName()
Returns parent trigger name.
|
boolean |
isLogAction()
Returns action loggable flag.
|
boolean |
isSuccess()
Returns action success flag.
|
void |
setLogAction(boolean value)
Sets action loggable flag.
|
void |
setPriority(int value)
Sets the action priority.
|
java.lang.String getDescription()
java.lang.String getPropertyDescription(java.lang.String propertyName)
propertyName - the property namejava.lang.String getPropertyExample(java.lang.String propertyName)
propertyName - the property namePropertyDescriptor[] getPropertyDescriptors()
java.lang.String getGroup()
boolean isLogAction()
true if action should be logged;
false otherwisevoid setLogAction(boolean value)
value - if true action will be loggedjava.lang.String getTriggerName()
java.lang.String getTriggerErrorMessage()
java.lang.String getResultMessage()
java.lang.Object getResult()
boolean isSuccess()
true if action was successful executed;
false otherwiseint getPriority()
void setPriority(int value)
value - the action priorityvoid execute(com.jscape.inet.mftserver.operation.Domain domain,
com.jscape.inet.mft.events.DomainEvent<?> event,
ExpressionContext expressionContext,
java.lang.String triggerName,
java.lang.String triggerTaskId)
throws Action.ActionException
Action.ActionExceptionCopyright © 2009-2023. Redwood Software Inc. All rights reserved.