Class FlowAnnotation


  • public class FlowAnnotation
    extends java.lang.Object
    FlowInterface broken down annotation.
    Author:
    Daniel Sagenschneider
    • Constructor Summary

      Constructors 
      Constructor Description
      FlowAnnotation​(java.lang.String flowName, int flowIndex, boolean isSpawn, java.lang.Class<?> parameterType, boolean isFlowCallback)
      Instantiate.
    • Constructor Detail

      • FlowAnnotation

        public FlowAnnotation​(java.lang.String flowName,
                              int flowIndex,
                              boolean isSpawn,
                              java.lang.Class<?> parameterType,
                              boolean isFlowCallback)
        Instantiate.
        Parameters:
        flowName - Name of the Flow.
        flowIndex - Index of Flow to invoked for this Method.
        isSpawn - Flags whether to spawn Flow in another ThreadState.
        parameterType - Type for parameter of the Flow. Will be null if no parameter.
        isFlowCallback - Flag indicating if FlowCallback for the Flow.
    • Method Detail

      • getFlowName

        public java.lang.String getFlowName()
        Obtains the name of the Flow.
        Returns:
        Name of the Flow.
      • getFlowIndex

        public int getFlowIndex()
        Obtains the index of the Flow to invoke for this Method.
        Returns:
        Index of the Flow to invoke for this Method.
      • getParameterType

        public java.lang.Class<?> getParameterType()
        Obtains the parameter type.
        Returns:
        Type for parameter of the Flow. Will be null if no parameter.