Class ConvertDateToISO8601
- java.lang.Object
-
- org.alfresco.repo.workflow.activiti.listener.ConvertDateToISO8601
-
- All Implemented Interfaces:
java.io.Serializable,org.activiti.engine.delegate.ExecutionListener
public class ConvertDateToISO8601 extends java.lang.Object implements org.activiti.engine.delegate.ExecutionListenerAnExecutionListenerthat converts a variable of type date to a ISO-8601 date. The variable that should be converted can be set using field "source", the output string will be written in field configured in "target".- Since:
- 4.0
- Author:
- Frederik Heremans
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConvertDateToISO8601()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetExpressionString(org.activiti.engine.delegate.Expression expression, org.activiti.engine.delegate.VariableScope variableScope)voidnotify(org.activiti.engine.delegate.DelegateExecution execution)voidsetSource(org.activiti.engine.delegate.Expression source)voidsetTarget(org.activiti.engine.delegate.Expression target)
-
-
-
Method Detail
-
setSource
public void setSource(org.activiti.engine.delegate.Expression source)
-
setTarget
public void setTarget(org.activiti.engine.delegate.Expression target)
-
notify
public void notify(org.activiti.engine.delegate.DelegateExecution execution) throws java.lang.Exception- Specified by:
notifyin interfaceorg.activiti.engine.delegate.ExecutionListener- Throws:
java.lang.Exception
-
getExpressionString
protected java.lang.String getExpressionString(org.activiti.engine.delegate.Expression expression, org.activiti.engine.delegate.VariableScope variableScope)
-
-