Class ConvertDateToISO8601

  • All Implemented Interfaces:
    java.io.Serializable, org.activiti.engine.delegate.ExecutionListener

    public class ConvertDateToISO8601
    extends java.lang.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:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.activiti.engine.delegate.Expression source  
      protected org.activiti.engine.delegate.Expression target  
      • Fields inherited from interface org.activiti.engine.delegate.ExecutionListener

        EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.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 Detail

      • source

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

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

      • ConvertDateToISO8601

        public ConvertDateToISO8601()
    • 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:
        notify in interface org.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)