Class ManagedFunctionSectionSource
java.lang.Object
net.officefloor.compile.spi.section.source.impl.AbstractSectionSource
net.officefloor.plugin.section.managedfunction.ManagedFunctionSectionSource
- All Implemented Interfaces:
SectionSource
SectionSource implementation that wraps a
ManagedFunctionSource to expose it as a section.- Author:
- Daniel Sagenschneider
-
Nested Class Summary
Nested classes/interfaces inherited from class net.officefloor.compile.spi.section.source.impl.AbstractSectionSource
AbstractSectionSource.SpecificationContext -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of property specifying a comma separated list ofManagedFunctionnames that will have aSectionOutputcreated and linked as next.static final StringName of property prefix to specify the index of the parameter on theManagedFunction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidLoads theSectionSourceSpecification.voidsourceSection(SectionDesigner designer, SectionSourceContext context) Sources theOfficeSectionby constructing it via the inputSectionDesigner.Methods inherited from class net.officefloor.compile.spi.section.source.impl.AbstractSectionSource
getSpecification
-
Field Details
-
PROPERTY_PARAMETER_PREFIX
Name of property prefix to specify the index of the parameter on theManagedFunction. The resulting parameter name and value are as:PROPERTY_PARAMETER_PREFIX + "FunctionName" = "index in objects for the parameter (starting at 1)"- See Also:
-
PROPERTY_FUNCTIONS_NEXT_TO_OUTPUTS
Name of property specifying a comma separated list ofManagedFunctionnames that will have aSectionOutputcreated and linked as next.- See Also:
-
-
Constructor Details
-
ManagedFunctionSectionSource
public ManagedFunctionSectionSource()
-
-
Method Details
-
loadSpecification
Description copied from class:AbstractSectionSourceLoads theSectionSourceSpecification.- Specified by:
loadSpecificationin classAbstractSectionSource- Parameters:
context-AbstractSectionSource.SpecificationContext.
-
sourceSection
Description copied from interface:SectionSourceSources theOfficeSectionby constructing it via the inputSectionDesigner.- Parameters:
designer-SectionDesignerto construct the structure of theOfficeSection.context-SectionSourceContextto source details to construct theOfficeSection.- Throws:
Exception- If fails to construct theOfficeSection.
-