Class FlowElementInvocationFactory.DefaultFlowElementInvocation

  • All Implemented Interfaces:
    org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>
    Enclosing class:
    FlowElementInvocationFactory

    public static class FlowElementInvocationFactory.DefaultFlowElementInvocation
    extends java.lang.Object
    implements org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>
    Default implementation of the FlowElementInvocation
    • Constructor Detail

      • DefaultFlowElementInvocation

        public DefaultFlowElementInvocation()
    • Method Detail

      • beforeInvocation

        public void beforeInvocation​(org.ikasan.spec.flow.FlowElement flowElement)
        Specified by:
        beforeInvocation in interface org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>
      • afterInvocation

        public void afterInvocation​(org.ikasan.spec.flow.FlowElement flowElement)
        Specified by:
        afterInvocation in interface org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>
      • getFlowElement

        public org.ikasan.spec.flow.FlowElement getFlowElement()
        Specified by:
        getFlowElement in interface org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>
      • getStartTimeMillis

        public long getStartTimeMillis()
        Specified by:
        getStartTimeMillis in interface org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>
      • getEndTimeMillis

        public long getEndTimeMillis()
        Specified by:
        getEndTimeMillis in interface org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>
      • getBeforeIdentifier

        public java.lang.Object getBeforeIdentifier()
        Specified by:
        getBeforeIdentifier in interface org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>
      • setBeforeIdentifier

        public void setBeforeIdentifier​(java.lang.Object identifier)
        Specified by:
        setBeforeIdentifier in interface org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>
      • getBeforeRelatedIdentifier

        public java.lang.Object getBeforeRelatedIdentifier()
        Specified by:
        getBeforeRelatedIdentifier in interface org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>
      • setBeforeRelatedIdentifier

        public void setBeforeRelatedIdentifier​(java.lang.Object relatedIdentifier)
        Specified by:
        setBeforeRelatedIdentifier in interface org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>
      • getAfterIdentifier

        public java.lang.Object getAfterIdentifier()
        Specified by:
        getAfterIdentifier in interface org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>
      • setAfterIdentifier

        public void setAfterIdentifier​(java.lang.Object identifier)
        Specified by:
        setAfterIdentifier in interface org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>
      • getAfterRelatedIdentifier

        public java.lang.Object getAfterRelatedIdentifier()
        Specified by:
        getAfterRelatedIdentifier in interface org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>
      • setAfterRelatedIdentifier

        public void setAfterRelatedIdentifier​(java.lang.Object relatedIdentifier)
        Specified by:
        setAfterRelatedIdentifier in interface org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>
      • addCustomMetric

        public void addCustomMetric​(java.lang.String name,
                                    java.lang.String value)
        Specified by:
        addCustomMetric in interface org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>
      • getCustomMetrics

        public java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>> getCustomMetrics()
        Specified by:
        getCustomMetrics in interface org.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,​java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,​java.lang.String>>>