public class ErrorProneActionExecutor extends ActionExecuterAbstractBase implements org.springframework.beans.factory.InitializingBean, TestModeable
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
static String |
PARAM_FAILING_PERSON_NODEREF |
static String |
PARAM_PERSON_NODEREF |
static String |
PARAM_USERNAME |
actionDefinition, applicableTypes, publicAction
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService
name
PARAM_RESULT
Constructor and Description |
---|
ErrorProneActionExecutor() |
Modifier and Type | Method and Description |
---|---|
protected void |
addParameterDefinitions(List<ParameterDefinition> paramList)
Add the parameter definitions
|
void |
afterPropertiesSet() |
protected void |
executeImpl(Action ruleAction,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Send an email message
|
int |
getNumFailed() |
int |
getNumSuccess() |
boolean |
isTestMode() |
void |
setTestMode(boolean testMode) |
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, onLogException, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setMlAwareNodeService, setPublicAction, setQueueName, setTrackStatus
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toString
setBeanName
public static final String PARAM_FAILING_PERSON_NODEREF
public static final String PARAM_PERSON_NODEREF
public static final String PARAM_USERNAME
public static final String NAME
public int getNumSuccess()
public int getNumFailed()
protected void executeImpl(Action ruleAction, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
executeImpl
in class ActionExecuterAbstractBase
ruleAction
- the actionactionedUponNodeRef
- the actioned upon nodeorg.alfresco.error.AlfrescoRuntimeException
protected void addParameterDefinitions(List<ParameterDefinition> paramList)
addParameterDefinitions
in class ParameterizedItemAbstractBase
paramList
- the parameter definitions listpublic boolean isTestMode()
isTestMode
in interface TestModeable
public void setTestMode(boolean testMode)
setTestMode
in interface TestModeable
Copyright © 2005–2017 Alfresco Software. All rights reserved.