public abstract class AbstractCustomAction extends java.lang.Object implements IWFCustomAction
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROP_FIELDS |
static java.lang.String |
PROP_TARGET_OBJECTS |
| Constructor and Description |
|---|
AbstractCustomAction(IWFOperationContext context,
java.util.List<IWFCustomProperty> properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execute to process the custom action
|
IWFOperationContext |
getContext()
Returns the operation context for the action.
|
java.util.List<IWFFieldSetter> |
getFields()
Returns the list of field objects.
|
java.lang.String |
getPropertyValue(java.lang.String propertyName)
Returns custom property values by name.
|
IWFObjectsEval |
getTargetObjects()
Returns the evaluation to get the target objects
|
void |
throwException(java.lang.String message,
java.lang.Throwable cause) |
boolean |
validate()
API to be implemented by sub-classes to validate configuration of the custom action
|
public static final java.lang.String PROP_FIELDS
public static final java.lang.String PROP_TARGET_OBJECTS
public AbstractCustomAction(IWFOperationContext context, java.util.List<IWFCustomProperty> properties)
public final void execute()
throws java.lang.Exception
IWFCustomActionexecute in interface IWFCustomActionjava.lang.Exceptionpublic boolean validate()
IWFCustomActionvalidate in interface IWFCustomActionpublic final java.lang.String getPropertyValue(java.lang.String propertyName)
IWFCustomActiongetPropertyValue in interface IWFCustomActionpublic final IWFOperationContext getContext()
IWFCustomActiongetContext in interface IWFCustomActionpublic final java.util.List<IWFFieldSetter> getFields()
IWFCustomActiongetFields in interface IWFCustomActionpublic final IWFObjectsEval getTargetObjects()
IWFCustomActiongetTargetObjects in interface IWFCustomActionpublic final void throwException(java.lang.String message,
java.lang.Throwable cause)
throws WFServiceException
WFServiceException
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2021. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.