| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractAction.LogActionField |
Action.ActionException| Modifier and Type | Field and Description |
|---|---|
static PropertyDescriptor |
ACTION_PRIORITY_DESCRIPTOR
A property descriptor for 'Priority' property.
|
static int |
DEFAULT_PRIORITY
Default action priority.
|
static PropertyDescriptor |
LOG_ACTION_DESCRIPTOR
A property descriptor for 'LogAction' property.
|
static PropertyDescriptor |
TRIGGER_ERROR_MESSAGE_DESCRIPTOR
A property descriptor for 'TriggerErrorMessage' property.
|
| 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) |
int |
getPriority()
Returns the action priority.
|
java.lang.String |
getPropertyDescription(java.lang.String propertyName)
Returns action property description.
|
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.
|
void |
setTriggerErrorMessage(java.lang.String value) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getPropertyDescriptorspublic static final PropertyDescriptor ACTION_PRIORITY_DESCRIPTOR
public static final PropertyDescriptor TRIGGER_ERROR_MESSAGE_DESCRIPTOR
public static final PropertyDescriptor LOG_ACTION_DESCRIPTOR
public static final int DEFAULT_PRIORITY
public java.lang.String getPropertyDescription(java.lang.String propertyName)
ActiongetPropertyDescription in interface ActionpropertyName - the property namepublic java.lang.String getPropertyExample(java.lang.String propertyName)
ActiongetPropertyExample in interface ActionpropertyName - the property namepublic boolean isLogAction()
ActionisLogAction in interface Actiontrue if action should be logged;
false otherwisepublic void setLogAction(boolean value)
ActionsetLogAction in interface Actionvalue - if true action will be loggedpublic java.lang.String getTriggerName()
ActiongetTriggerName in interface Actionpublic java.lang.String getResultMessage()
ActiongetResultMessage in interface Actionpublic java.lang.String getTriggerErrorMessage()
ActiongetTriggerErrorMessage in interface Actionpublic void setTriggerErrorMessage(java.lang.String value)
public boolean isSuccess()
Actionpublic int getPriority()
ActiongetPriority in interface Actionpublic void setPriority(int value)
ActionsetPriority in interface Actionvalue - the action prioritypublic 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)
throws Action.ActionException
execute in interface ActionAction.ActionExceptionCopyright © 2009-2021. Advanced Systems Concepts Inc. All rights reserved.