Class ClassFlowBuilder<A extends java.lang.annotation.Annotation>
- java.lang.Object
-
- net.officefloor.plugin.clazz.flow.ClassFlowBuilder<A>
-
public class ClassFlowBuilder<A extends java.lang.annotation.Annotation> extends java.lang.Object
Factory to create theFlow
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 ClassFlowInterfaceFactory
buildFlowInterfaceFactory(java.lang.Class<?> flowInterfaceType, ClassFlowRegistry flowRegistry, SourceContext sourceContext)
Builds theClassFlowInterfaceFactory
for theFlowInterface
.
-
-
-
Constructor Detail
-
ClassFlowBuilder
public ClassFlowBuilder(java.lang.Class<A> annotationClass)
Instantiate.- Parameters:
annotationClass
-Class
of theAnnotation
.
-
-
Method Detail
-
buildFlowInterfaceFactory
public ClassFlowInterfaceFactory buildFlowInterfaceFactory(java.lang.Class<?> flowInterfaceType, ClassFlowRegistry flowRegistry, SourceContext sourceContext) throws java.lang.Exception
Builds theClassFlowInterfaceFactory
for theFlowInterface
.- Parameters:
flowInterfaceType
- InterfaceClass
for theFlowInterface
.flowRegistry
-ClassFlowRegistry
.sourceContext
-SourceContext
.- Returns:
ClassFlowInterfaceFactory
ornull
if parameter is not aFlowInterface
.- Throws:
java.lang.Exception
- If fails to build theClassFlowInterfaceFactory
.
-
-