Class ConvertDateToISO8601

java.lang.Object
org.alfresco.repo.workflow.activiti.listener.ConvertDateToISO8601
All Implemented Interfaces:
Serializable, org.activiti.engine.delegate.ExecutionListener

public class ConvertDateToISO8601 extends Object implements org.activiti.engine.delegate.ExecutionListener
An 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".
Since:
4.0
Author:
Frederik Heremans
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.activiti.engine.delegate.Expression
     
    protected org.activiti.engine.delegate.Expression
     

    Fields inherited from interface org.activiti.engine.delegate.ExecutionListener

    EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • source

      protected org.activiti.engine.delegate.Expression source
    • target

      protected org.activiti.engine.delegate.Expression target
  • Constructor Details

    • ConvertDateToISO8601

      public ConvertDateToISO8601()
  • Method Details

    • 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 Exception
      Specified by:
      notify in interface org.activiti.engine.delegate.ExecutionListener
      Throws:
      Exception
    • getExpressionString

      protected String getExpressionString(org.activiti.engine.delegate.Expression expression, org.activiti.engine.delegate.VariableScope variableScope)