Package net.officefloor.plugin.clazz
Class ClassFlowBuilder<A extends java.lang.annotation.Annotation>
- java.lang.Object
-
- net.officefloor.plugin.clazz.ClassFlowBuilder<A>
-
public class ClassFlowBuilder<A extends java.lang.annotation.Annotation> extends java.lang.Object
Factory to create theFlowInterface
Flow
instances.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ClassFlowBuilder(java.lang.Class<A> annotationClass)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassFlowParameterFactory
buildFlowParameterFactory(java.lang.String functionName, java.lang.Class<?> parameterType, ClassFlowRegistry flowRegistry, SourceContext sourceContext)
Builds theClassFlowParameterFactory
for theFlowInterface
parameter.
-
-
-
Constructor Detail
-
ClassFlowBuilder
public ClassFlowBuilder(java.lang.Class<A> annotationClass)
Instantiate.- Parameters:
annotationClass
-Class
of theAnnotation
.
-
-
Method Detail
-
buildFlowParameterFactory
public ClassFlowParameterFactory buildFlowParameterFactory(java.lang.String functionName, java.lang.Class<?> parameterType, ClassFlowRegistry flowRegistry, SourceContext sourceContext) throws java.lang.Exception
Builds theClassFlowParameterFactory
for theFlowInterface
parameter.- Parameters:
functionName
- Name ofMethod
containing theFlowInterface
parameter.parameterType
- InterfaceClass
for theFlowInterface
.flowRegistry
-ClassFlowRegistry
.sourceContext
-SourceContext
.- Returns:
ClassFlowParameterFactory
ornull
if parameter is not aFlowInterface
.- Throws:
java.lang.Exception
- If fails to build theClassFlowParameterFactory
.
-
-