Interface SectionDesigner
-
- All Superinterfaces:
SourceIssues
- All Known Subinterfaces:
SectionNode
- All Known Implementing Classes:
SectionNodeImpl,TransformSectionDesigner
public interface SectionDesigner extends SourceIssues
Designer to design theSectionNode.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SectionManagedObjectPooladdManagedObjectPool(java.lang.String managedObjectPoolName, java.lang.String managedObjectPoolSourceClassName)Adds anSectionManagedObjectPool.SectionManagedObjectPooladdManagedObjectPool(java.lang.String managedObjectPoolName, ManagedObjectPoolSource managedObjectPoolSource)Adds aSectionManagedObjectPool.SectionFunctionNamespaceaddSectionFunctionNamespace(java.lang.String functionNamespaceName, java.lang.String managedFunctionSourceClassName)Adds aSectionFunctionNamespaceto theSectionNodebeing built.SectionFunctionNamespaceaddSectionFunctionNamespace(java.lang.String functionNamespaceName, ManagedFunctionSource managedFunctionSource)Adds aSectionFunctionNamespaceto theSectionNodebeing built.SectionInputaddSectionInput(java.lang.String inputName, java.lang.String parameterType)Adds aSectionInputto theSectionNodebeing built.SectionManagedObjectSourceaddSectionManagedObjectSource(java.lang.String managedObjectSourceName, java.lang.String managedObjectSourceClassName)Adds aSectionManagedObjectSourceto theSectionNodebeing built.SectionManagedObjectSourceaddSectionManagedObjectSource(java.lang.String managedObjectSourceName, ManagedObjectSource<?,?> managedObjectSource)Adds aSectionManagedObjectSourceto theSectionNodebeing built.SectionObjectaddSectionObject(java.lang.String objectName, java.lang.String objectType)Adds aSectionObjectto theSectionNodebeing built.SectionOutputaddSectionOutput(java.lang.String outputName, java.lang.String argumentType, boolean isEscalationOnly)Adds aSectionOutputto theSectionNodebeing built.SubSectionaddSubSection(java.lang.String subSectionName, java.lang.String sectionSourceClassName, java.lang.String location)Adds aSubSectionto theSectionNodebeing built.SubSectionaddSubSection(java.lang.String subSectionName, SectionSource sectionSource, java.lang.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 Detail
-
addSectionInput
SectionInput addSectionInput(java.lang.String inputName, java.lang.String parameterType)
Adds aSectionInputto theSectionNodebeing built.- Parameters:
inputName- Name of theSectionInput.parameterType- Parameter type for theSectionInputType.- Returns:
SectionInputfor linking.
-
addSectionOutput
SectionOutput addSectionOutput(java.lang.String outputName, java.lang.String argumentType, boolean isEscalationOnly)
Adds aSectionOutputto theSectionNodebeing built.- Parameters:
outputName- Name of theSectionOutput.argumentType- Argument type for theSectionOutputType.isEscalationOnly-trueif onlyManagedFunctionEscalationTypeinstances are using theSectionOutputType.- Returns:
SectionOutputfor linking.
-
addSectionObject
SectionObject addSectionObject(java.lang.String objectName, java.lang.String objectType)
Adds aSectionObjectto theSectionNodebeing built.- Parameters:
objectName- Name of theSectionObject.objectType- Type required for theSectionObjectType.- Returns:
SectionObjectfor linking.
-
addSectionFunctionNamespace
SectionFunctionNamespace addSectionFunctionNamespace(java.lang.String functionNamespaceName, java.lang.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(java.lang.String functionNamespaceName, ManagedFunctionSource managedFunctionSource)
Adds aSectionFunctionNamespaceto theSectionNodebeing built.- Parameters:
functionNamespaceName- Name of theSectionFunctionNamespace.managedFunctionSource-ManagedFunctionSourceinstance to use.- Returns:
SectionFunctionNamespace.
-
addSectionManagedObjectSource
SectionManagedObjectSource addSectionManagedObjectSource(java.lang.String managedObjectSourceName, java.lang.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(java.lang.String managedObjectSourceName, ManagedObjectSource<?,?> managedObjectSource)
Adds aSectionManagedObjectSourceto theSectionNodebeing built.- Parameters:
managedObjectSourceName- Name of theSectionManagedObjectSource.managedObjectSource-ManagedObjectSourceinstance to use.- Returns:
SectionManagedObject.
-
addManagedObjectPool
SectionManagedObjectPool addManagedObjectPool(java.lang.String managedObjectPoolName, java.lang.String managedObjectPoolSourceClassName)
Adds anSectionManagedObjectPool.- Parameters:
managedObjectPoolName- Name of theSectionManagedObjectPool.managedObjectPoolSourceClassName- Fully qualified class name of theManagedObjectPoolSource.- Returns:
- Added
SectionManagedObjectPool.
-
addManagedObjectPool
SectionManagedObjectPool addManagedObjectPool(java.lang.String managedObjectPoolName, ManagedObjectPoolSource managedObjectPoolSource)
Adds aSectionManagedObjectPool.- Parameters:
managedObjectPoolName- Name of theSectionManagedObjectPool.managedObjectPoolSource-ManagedObjectPoolSourceinstance to use.- Returns:
SectionManagedObjectPool.
-
addSubSection
SubSection addSubSection(java.lang.String subSectionName, java.lang.String sectionSourceClassName, java.lang.String location)
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
SubSection addSubSection(java.lang.String subSectionName, SectionSource sectionSource, java.lang.String location)
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
void link(SectionFlowSourceNode flowSourceNode, SectionFlowSinkNode flowSinkNode)
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.
-
-