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 SectionManagedObjectPool
addManagedObjectPool(java.lang.String managedObjectPoolName, java.lang.String managedObjectPoolSourceClassName)
Adds anSectionManagedObjectPool
.SectionManagedObjectPool
addManagedObjectPool(java.lang.String managedObjectPoolName, ManagedObjectPoolSource managedObjectPoolSource)
Adds aSectionManagedObjectPool
.SectionFunctionNamespace
addSectionFunctionNamespace(java.lang.String functionNamespaceName, java.lang.String managedFunctionSourceClassName)
Adds aSectionFunctionNamespace
to theSectionNode
being built.SectionFunctionNamespace
addSectionFunctionNamespace(java.lang.String functionNamespaceName, ManagedFunctionSource managedFunctionSource)
Adds aSectionFunctionNamespace
to theSectionNode
being built.SectionInput
addSectionInput(java.lang.String inputName, java.lang.String parameterType)
Adds aSectionInput
to theSectionNode
being built.SectionManagedObjectSource
addSectionManagedObjectSource(java.lang.String managedObjectSourceName, java.lang.String managedObjectSourceClassName)
Adds aSectionManagedObjectSource
to theSectionNode
being built.SectionManagedObjectSource
addSectionManagedObjectSource(java.lang.String managedObjectSourceName, ManagedObjectSource<?,?> managedObjectSource)
Adds aSectionManagedObjectSource
to theSectionNode
being built.SectionObject
addSectionObject(java.lang.String objectName, java.lang.String objectType)
Adds aSectionObject
to theSectionNode
being built.SectionOutput
addSectionOutput(java.lang.String outputName, java.lang.String argumentType, boolean isEscalationOnly)
Adds aSectionOutput
to theSectionNode
being built.SubSection
addSubSection(java.lang.String subSectionName, java.lang.String sectionSourceClassName, java.lang.String location)
Adds aSubSection
to theSectionNode
being built.SubSection
addSubSection(java.lang.String subSectionName, SectionSource sectionSource, java.lang.String location)
Adds aSubSection
to theSectionNode
being built.void
link(FunctionFlow functionFlow, SectionFlowSinkNode sectionSinkNode, boolean isSpawnThreadState)
Links theFunctionFlow
to be undertaken by theSectionFlowSinkNode
.void
link(SectionDependencyRequireNode dependencyRequireNode, SectionDependencyObjectNode dependencyObjectNode)
Links theSectionDependencyRequireNode
to be fulfilled by theSectionDependencyObjectNode
.void
link(SectionFlowSourceNode flowSourceNode, SectionFlowSinkNode flowSinkNode)
Links theSectionFlowSourceNode
to undertaken by theSectionFlowSinkNode
.void
link(SectionManagedObjectSource managedObjectSource, SectionManagedObjectPool managedObjectPool)
Links theSectionManagedObjectSource
to 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 aSectionInput
to theSectionNode
being built.- Parameters:
inputName
- Name of theSectionInput
.parameterType
- Parameter type for theSectionInputType
.- Returns:
SectionInput
for linking.
-
addSectionOutput
SectionOutput addSectionOutput(java.lang.String outputName, java.lang.String argumentType, boolean isEscalationOnly)
Adds aSectionOutput
to theSectionNode
being built.- Parameters:
outputName
- Name of theSectionOutput
.argumentType
- Argument type for theSectionOutputType
.isEscalationOnly
-true
if onlyManagedFunctionEscalationType
instances are using theSectionOutputType
.- Returns:
SectionOutput
for linking.
-
addSectionObject
SectionObject addSectionObject(java.lang.String objectName, java.lang.String objectType)
Adds aSectionObject
to theSectionNode
being built.- Parameters:
objectName
- Name of theSectionObject
.objectType
- Type required for theSectionObjectType
.- Returns:
SectionObject
for linking.
-
addSectionFunctionNamespace
SectionFunctionNamespace addSectionFunctionNamespace(java.lang.String functionNamespaceName, java.lang.String managedFunctionSourceClassName)
Adds aSectionFunctionNamespace
to theSectionNode
being built.- Parameters:
functionNamespaceName
- Name of theSectionFunctionNamespace
.managedFunctionSourceClassName
- Fully qualified class name of theManagedFunctionSource
. This allows adding theSectionFunctionNamespace
without having to worry if theManagedFunctionSource
is available on the class path.- Returns:
SectionFunctionNamespace
.
-
addSectionFunctionNamespace
SectionFunctionNamespace addSectionFunctionNamespace(java.lang.String functionNamespaceName, ManagedFunctionSource managedFunctionSource)
Adds aSectionFunctionNamespace
to theSectionNode
being built.- Parameters:
functionNamespaceName
- Name of theSectionFunctionNamespace
.managedFunctionSource
-ManagedFunctionSource
instance to use.- Returns:
SectionFunctionNamespace
.
-
addSectionManagedObjectSource
SectionManagedObjectSource addSectionManagedObjectSource(java.lang.String managedObjectSourceName, java.lang.String managedObjectSourceClassName)
Adds aSectionManagedObjectSource
to theSectionNode
being built.- Parameters:
managedObjectSourceName
- Name of theSectionManagedObjectSource
.managedObjectSourceClassName
- Fully qualified class name of theManagedObjectSource
. This allows adding theSectionManagedObject
without having to worry if theManagedObjectSource
is available on the class path.- Returns:
SectionManagedObject
.
-
addSectionManagedObjectSource
SectionManagedObjectSource addSectionManagedObjectSource(java.lang.String managedObjectSourceName, ManagedObjectSource<?,?> managedObjectSource)
Adds aSectionManagedObjectSource
to theSectionNode
being built.- Parameters:
managedObjectSourceName
- Name of theSectionManagedObjectSource
.managedObjectSource
-ManagedObjectSource
instance 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
-ManagedObjectPoolSource
instance to use.- Returns:
SectionManagedObjectPool
.
-
addSubSection
SubSection addSubSection(java.lang.String subSectionName, java.lang.String sectionSourceClassName, java.lang.String location)
Adds aSubSection
to theSectionNode
being built.- Parameters:
subSectionName
- Name of theSubSection
.sectionSourceClassName
- Fully qualified class name of theSectionSource
for theSubSection
. This allows adding theSubSection
without having to worry if theSectionSource
is 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 aSubSection
to theSectionNode
being built.- Parameters:
subSectionName
- Name of theSubSection
.sectionSource
-SectionSource
to enable providing direct instances. This should only be used should theSectionSource
want to create aSubSection
instance by supplying its own instantiatedSectionSource
implementation.location
- Location of theSubSection
.- Returns:
SubSection
.
-
link
void link(SectionManagedObjectSource managedObjectSource, SectionManagedObjectPool managedObjectPool)
Links theSectionManagedObjectSource
to be pooled by theSectionManagedObjectPool
.- Parameters:
managedObjectSource
-SectionManagedObjectSource
.managedObjectPool
-SectionManagedObjectPool
.
-
link
void link(FunctionFlow functionFlow, SectionFlowSinkNode sectionSinkNode, boolean isSpawnThreadState)
Links theFunctionFlow
to be undertaken by theSectionFlowSinkNode
.- Parameters:
functionFlow
-FunctionFlow
.sectionSinkNode
-SectionFlowSinkNode
.isSpawnThreadState
- Indicates if spawnsThreadState
forFlow
.
-
link
void link(SectionFlowSourceNode flowSourceNode, SectionFlowSinkNode flowSinkNode)
Links theSectionFlowSourceNode
to undertaken by theSectionFlowSinkNode
.- Parameters:
flowSourceNode
-SectionFlowSourceNode
.flowSinkNode
-SectionFlowSinkNode
.
-
link
void link(SectionDependencyRequireNode dependencyRequireNode, SectionDependencyObjectNode dependencyObjectNode)
Links theSectionDependencyRequireNode
to be fulfilled by theSectionDependencyObjectNode
.- Parameters:
dependencyRequireNode
-SectionDependencyRequireNode
.dependencyObjectNode
-SectionDependencyObjectNode
.
-
-