Class ClassFlowMethodMetaData
- java.lang.Object
-
- net.officefloor.plugin.clazz.flow.ClassFlowMethodMetaData
-
public class ClassFlowMethodMetaData extends java.lang.Object
Meta-data of aMethod
on aFlowInterface
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ClassFlowMethodMetaData(java.lang.reflect.Method method, int flowIndex, boolean isParameter, boolean isFlowCallback)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFlowIndex()
Obtains the index of theFlow
to invoke for thisMethod
.java.lang.reflect.Method
getMethod()
Obtains theMethod
.boolean
isFlowCallback()
Flags ifFlowCallback
.boolean
isParameter()
Indicates if parameter for theFlow
.
-
-
-
Constructor Detail
-
ClassFlowMethodMetaData
public ClassFlowMethodMetaData(java.lang.reflect.Method method, int flowIndex, boolean isParameter, boolean isFlowCallback)
Initiate.- Parameters:
method
-Method
.flowIndex
- Index of theFlow
to invoke for thisMethod
.isParameter
- Flag indicating if parameter for theFlow
.isFlowCallback
-true
if last parameter isFlowCallback
.
-
-
Method Detail
-
getMethod
public java.lang.reflect.Method getMethod()
Obtains theMethod
.- Returns:
Method
.
-
getFlowIndex
public int getFlowIndex()
Obtains the index of theFlow
to invoke for thisMethod
.- Returns:
- Index of the
Flow
to invoke for thisMethod
.
-
isParameter
public boolean isParameter()
Indicates if parameter for theFlow
.- Returns:
true
if parameter for theFlow
.
-
isFlowCallback
public boolean isFlowCallback()
Flags ifFlowCallback
.- Returns:
true
ifFlowCallback
.
-
-