Class ClassFlowMethodMetaData

java.lang.Object
net.officefloor.plugin.clazz.flow.ClassFlowMethodMetaData

public class ClassFlowMethodMetaData extends Object
Meta-data of a Method on a FlowInterface.
Author:
Daniel Sagenschneider
  • Constructor Details

    • ClassFlowMethodMetaData

      public ClassFlowMethodMetaData(Method method, int flowIndex, boolean isParameter, boolean isFlowCallback)
      Initiate.
      Parameters:
      method - Method.
      flowIndex - Index of the Flow to invoke for this Method.
      isParameter - Flag indicating if parameter for the Flow.
      isFlowCallback - true if last parameter is FlowCallback.
  • Method Details

    • getMethod

      public Method getMethod()
      Obtains the Method.
      Returns:
      Method.
    • 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.
    • isParameter

      public boolean isParameter()
      Indicates if parameter for the Flow.
      Returns:
      true if parameter for the Flow.
    • isFlowCallback

      public boolean isFlowCallback()
      Flags if FlowCallback.
      Returns:
      true if FlowCallback.