Interface SectionDesigner
- All Superinterfaces:
SourceIssues
- All Known Subinterfaces:
SectionNode
- All Known Implementing Classes:
SectionNodeImpl,TransformSectionDesigner
Designer to design the
SectionNode.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionaddManagedObjectPool(String managedObjectPoolName, String managedObjectPoolSourceClassName) Adds anSectionManagedObjectPool.addManagedObjectPool(String managedObjectPoolName, ManagedObjectPoolSource managedObjectPoolSource) Adds aSectionManagedObjectPool.addSectionFunctionNamespace(String functionNamespaceName, String managedFunctionSourceClassName) Adds aSectionFunctionNamespaceto theSectionNodebeing built.addSectionFunctionNamespace(String functionNamespaceName, ManagedFunctionSource managedFunctionSource) Adds aSectionFunctionNamespaceto theSectionNodebeing built.addSectionInput(String inputName, String parameterType) Adds aSectionInputto theSectionNodebeing built.addSectionManagedObjectSource(String managedObjectSourceName, String managedObjectSourceClassName) Adds aSectionManagedObjectSourceto theSectionNodebeing built.addSectionManagedObjectSource(String managedObjectSourceName, ManagedObjectSource<?, ?> managedObjectSource) Adds aSectionManagedObjectSourceto theSectionNodebeing built.addSectionObject(String objectName, String objectType) Adds aSectionObjectto theSectionNodebeing built.addSectionOutput(String outputName, String argumentType, boolean isEscalationOnly) Adds aSectionOutputto theSectionNodebeing built.addSubSection(String subSectionName, String sectionSourceClassName, String location) Adds aSubSectionto theSectionNodebeing built.addSubSection(String subSectionName, SectionSource sectionSource, String location) Adds aSubSectionto theSectionNodebeing built.voidlink(FunctionFlow functionFlow, SectionFlowSinkNode sectionSinkNode, boolean isSpawnThreadState) Links theFunctionFlowto be undertaken by theSectionFlowSinkNode.voidlink(SectionDependencyRequireNode dependencyRequireNode, SectionDependencyObjectNode dependencyObjectNode) Links theSectionDependencyRequireNodeto be fulfilled by theSectionDependencyObjectNode.voidlink(SectionFlowSourceNode flowSourceNode, SectionFlowSinkNode flowSinkNode) Links theSectionFlowSourceNodeto undertaken by theSectionFlowSinkNode.voidlink(SectionManagedObjectSource managedObjectSource, SectionManagedObjectPool managedObjectPool) Links theSectionManagedObjectSourceto be pooled by theSectionManagedObjectPool.Methods inherited from interface net.officefloor.compile.issues.SourceIssues
addIssue, addIssue
-
Method Details
-
addSectionInput
Adds aSectionInputto theSectionNodebeing built.- Parameters:
inputName- Name of theSectionInput.parameterType- Parameter type for theSectionInputType.- Returns:
SectionInputfor linking.
-
addSectionOutput
Adds aSectionOutputto theSectionNodebeing built.- Parameters:
outputName- Name of theSectionOutput.argumentType- Argument type for theSectionOutputType.isEscalationOnly-trueif onlyManagedFunctionEscalationTypeinstances are using theSectionOutputType.- Returns:
SectionOutputfor linking.
-
addSectionObject
Adds aSectionObjectto theSectionNodebeing built.- Parameters:
objectName- Name of theSectionObject.objectType- Type required for theSectionObjectType.- Returns:
SectionObjectfor linking.
-
addSectionFunctionNamespace
SectionFunctionNamespace addSectionFunctionNamespace(String functionNamespaceName, String managedFunctionSourceClassName) Adds aSectionFunctionNamespaceto theSectionNodebeing built.- Parameters:
functionNamespaceName- Name of theSectionFunctionNamespace.managedFunctionSourceClassName- Fully qualified class name of theManagedFunctionSource. This allows adding theSectionFunctionNamespacewithout having to worry if theManagedFunctionSourceis available on the class path.- Returns:
SectionFunctionNamespace.
-
addSectionFunctionNamespace
SectionFunctionNamespace addSectionFunctionNamespace(String functionNamespaceName, ManagedFunctionSource managedFunctionSource) Adds aSectionFunctionNamespaceto theSectionNodebeing built.- Parameters:
functionNamespaceName- Name of theSectionFunctionNamespace.managedFunctionSource-ManagedFunctionSourceinstance to use.- Returns:
SectionFunctionNamespace.
-
addSectionManagedObjectSource
SectionManagedObjectSource addSectionManagedObjectSource(String managedObjectSourceName, String managedObjectSourceClassName) Adds aSectionManagedObjectSourceto theSectionNodebeing built.- Parameters:
managedObjectSourceName- Name of theSectionManagedObjectSource.managedObjectSourceClassName- Fully qualified class name of theManagedObjectSource. This allows adding theSectionManagedObjectwithout having to worry if theManagedObjectSourceis available on the class path.- Returns:
SectionManagedObject.
-
addSectionManagedObjectSource
SectionManagedObjectSource addSectionManagedObjectSource(String managedObjectSourceName, ManagedObjectSource<?, ?> managedObjectSource) Adds aSectionManagedObjectSourceto theSectionNodebeing built.- Parameters:
managedObjectSourceName- Name of theSectionManagedObjectSource.managedObjectSource-ManagedObjectSourceinstance to use.- Returns:
SectionManagedObject.
-
addManagedObjectPool
SectionManagedObjectPool addManagedObjectPool(String managedObjectPoolName, String managedObjectPoolSourceClassName) Adds anSectionManagedObjectPool.- Parameters:
managedObjectPoolName- Name of theSectionManagedObjectPool.managedObjectPoolSourceClassName- Fully qualified class name of theManagedObjectPoolSource.- Returns:
- Added
SectionManagedObjectPool.
-
addManagedObjectPool
SectionManagedObjectPool addManagedObjectPool(String managedObjectPoolName, ManagedObjectPoolSource managedObjectPoolSource) Adds aSectionManagedObjectPool.- Parameters:
managedObjectPoolName- Name of theSectionManagedObjectPool.managedObjectPoolSource-ManagedObjectPoolSourceinstance to use.- Returns:
SectionManagedObjectPool.
-
addSubSection
Adds aSubSectionto theSectionNodebeing built.- Parameters:
subSectionName- Name of theSubSection.sectionSourceClassName- Fully qualified class name of theSectionSourcefor theSubSection. This allows adding theSubSectionwithout having to worry if theSectionSourceis available on the class path. This should be used over attempting to find theSectionSource- as should leave to the compiler to find theSectionSource.location- Location of theSubSection.- Returns:
SubSection.
-
addSubSection
Adds aSubSectionto theSectionNodebeing built.- Parameters:
subSectionName- Name of theSubSection.sectionSource-SectionSourceto enable providing direct instances. This should only be used should theSectionSourcewant to create aSubSectioninstance by supplying its own instantiatedSectionSourceimplementation.location- Location of theSubSection.- Returns:
SubSection.
-
link
void link(SectionManagedObjectSource managedObjectSource, SectionManagedObjectPool managedObjectPool) Links theSectionManagedObjectSourceto be pooled by theSectionManagedObjectPool.- Parameters:
managedObjectSource-SectionManagedObjectSource.managedObjectPool-SectionManagedObjectPool.
-
link
void link(FunctionFlow functionFlow, SectionFlowSinkNode sectionSinkNode, boolean isSpawnThreadState) Links theFunctionFlowto be undertaken by theSectionFlowSinkNode.- Parameters:
functionFlow-FunctionFlow.sectionSinkNode-SectionFlowSinkNode.isSpawnThreadState- Indicates if spawnsThreadStateforFlow.
-
link
Links theSectionFlowSourceNodeto undertaken by theSectionFlowSinkNode.- Parameters:
flowSourceNode-SectionFlowSourceNode.flowSinkNode-SectionFlowSinkNode.
-
link
void link(SectionDependencyRequireNode dependencyRequireNode, SectionDependencyObjectNode dependencyObjectNode) Links theSectionDependencyRequireNodeto be fulfilled by theSectionDependencyObjectNode.- Parameters:
dependencyRequireNode-SectionDependencyRequireNode.dependencyObjectNode-SectionDependencyObjectNode.
-