Package org.ikasan.flow.event
Class FlowElementInvocationFactory.DefaultFlowElementInvocation
- java.lang.Object
-
- org.ikasan.flow.event.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 Summary
Constructors Constructor Description DefaultFlowElementInvocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCustomMetric(java.lang.String name, java.lang.String value)voidafterInvocation(org.ikasan.spec.flow.FlowElement flowElement)voidbeforeInvocation(org.ikasan.spec.flow.FlowElement flowElement)java.lang.ObjectgetAfterIdentifier()java.lang.ObjectgetAfterRelatedIdentifier()java.lang.ObjectgetBeforeIdentifier()java.lang.ObjectgetBeforeRelatedIdentifier()java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,java.lang.String>>getCustomMetrics()longgetEndTimeMillis()org.ikasan.spec.flow.FlowElementgetFlowElement()longgetStartTimeMillis()voidsetAfterIdentifier(java.lang.Object identifier)voidsetAfterRelatedIdentifier(java.lang.Object relatedIdentifier)voidsetBeforeIdentifier(java.lang.Object identifier)voidsetBeforeRelatedIdentifier(java.lang.Object relatedIdentifier)
-
-
-
Method Detail
-
beforeInvocation
public void beforeInvocation(org.ikasan.spec.flow.FlowElement flowElement)
- Specified by:
beforeInvocationin interfaceorg.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:
afterInvocationin interfaceorg.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:
getFlowElementin interfaceorg.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:
getStartTimeMillisin interfaceorg.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:
getEndTimeMillisin interfaceorg.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:
getBeforeIdentifierin interfaceorg.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:
setBeforeIdentifierin interfaceorg.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:
getBeforeRelatedIdentifierin interfaceorg.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:
setBeforeRelatedIdentifierin interfaceorg.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:
getAfterIdentifierin interfaceorg.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:
setAfterIdentifierin interfaceorg.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:
getAfterRelatedIdentifierin interfaceorg.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:
setAfterRelatedIdentifierin interfaceorg.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:
addCustomMetricin interfaceorg.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:
getCustomMetricsin interfaceorg.ikasan.spec.flow.FlowElementInvocation<java.lang.Object,java.util.List<java.util.AbstractMap.SimpleImmutableEntry<java.lang.String,java.lang.String>>>
-
-