Class ProcedureManagedFunctionSource
- java.lang.Object
-
- net.officefloor.compile.spi.managedfunction.source.impl.AbstractManagedFunctionSource
-
- net.officefloor.activity.procedure.section.ProcedureManagedFunctionSource
-
- All Implemented Interfaces:
ManagedFunctionSource
public class ProcedureManagedFunctionSource extends AbstractManagedFunctionSource
ManagedFunctionSourcefor first-class procedure.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.compile.spi.managedfunction.source.impl.AbstractManagedFunctionSource
AbstractManagedFunctionSource.SpecificationContext
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROCEDURE_PROPERTY_NAMEPropertyname identifying the procedure name.static java.lang.StringRESOURCE_PROPERTY_NAMEPropertyname providing the resource.static java.lang.StringSOURCE_NAME_PROPERTY_NAMEPropertyname providing the source to create the procedure.
-
Constructor Summary
Constructors Constructor Description ProcedureManagedFunctionSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidloadSpecification(AbstractManagedFunctionSource.SpecificationContext context)Loads theManagedFunctionSourceSpecification.voidsourceManagedFunctions(FunctionNamespaceBuilder functionNamespaceTypeBuilder, ManagedFunctionSourceContext context)Sources theFunctionNamespaceTypeby populating it via the inputFunctionNamespaceBuilder.-
Methods inherited from class net.officefloor.compile.spi.managedfunction.source.impl.AbstractManagedFunctionSource
getSpecification
-
-
-
-
Field Detail
-
RESOURCE_PROPERTY_NAME
public static final java.lang.String RESOURCE_PROPERTY_NAME
Propertyname providing the resource.- See Also:
- Constant Field Values
-
SOURCE_NAME_PROPERTY_NAME
public static final java.lang.String SOURCE_NAME_PROPERTY_NAME
Propertyname providing the source to create the procedure.- See Also:
- Constant Field Values
-
PROCEDURE_PROPERTY_NAME
public static final java.lang.String PROCEDURE_PROPERTY_NAME
Propertyname identifying the procedure name.- See Also:
- Constant Field Values
-
-
Method Detail
-
loadSpecification
protected void loadSpecification(AbstractManagedFunctionSource.SpecificationContext context)
Description copied from class:AbstractManagedFunctionSourceLoads theManagedFunctionSourceSpecification.- Specified by:
loadSpecificationin classAbstractManagedFunctionSource- Parameters:
context-AbstractManagedFunctionSource.SpecificationContext.
-
sourceManagedFunctions
public void sourceManagedFunctions(FunctionNamespaceBuilder functionNamespaceTypeBuilder, ManagedFunctionSourceContext context) throws java.lang.Exception
Description copied from interface:ManagedFunctionSourceSources theFunctionNamespaceTypeby populating it via the inputFunctionNamespaceBuilder.- Parameters:
functionNamespaceTypeBuilder-FunctionNamespaceBuilderto be populated with thetype definitionof theManagedFunctionSource.context-ManagedFunctionSourceContextto source details to populate theFunctionNamespaceBuilder.- Throws:
java.lang.Exception- If fails to populate theFunctionNamespaceBuilder.
-
-