public class ConvertDateToISO8601 extends Object implements org.activiti.engine.delegate.ExecutionListener
ExecutionListener
that 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".Modifier and Type | Field and Description |
---|---|
protected org.activiti.engine.delegate.Expression |
source |
protected org.activiti.engine.delegate.Expression |
target |
Constructor and Description |
---|
ConvertDateToISO8601() |
Modifier and Type | Method and Description |
---|---|
protected String |
getExpressionString(org.activiti.engine.delegate.Expression expression,
org.activiti.engine.delegate.VariableScope variableScope) |
void |
notify(org.activiti.engine.delegate.DelegateExecution execution) |
void |
setSource(org.activiti.engine.delegate.Expression source) |
void |
setTarget(org.activiti.engine.delegate.Expression target) |
protected org.activiti.engine.delegate.Expression source
protected org.activiti.engine.delegate.Expression target
public void setSource(org.activiti.engine.delegate.Expression source)
public void setTarget(org.activiti.engine.delegate.Expression target)
public void notify(org.activiti.engine.delegate.DelegateExecution execution) throws Exception
notify
in interface org.activiti.engine.delegate.ExecutionListener
Exception
protected String getExpressionString(org.activiti.engine.delegate.Expression expression, org.activiti.engine.delegate.VariableScope variableScope)
Copyright © 2005–2017 Alfresco Software. All rights reserved.