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
ManagedFunctionSource
for 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.String
PROCEDURE_PROPERTY_NAME
Property
name identifying the procedure name.static java.lang.String
RESOURCE_PROPERTY_NAME
Property
name providing the resource.static java.lang.String
SOURCE_NAME_PROPERTY_NAME
Property
name 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 void
loadSpecification(AbstractManagedFunctionSource.SpecificationContext context)
Loads theManagedFunctionSourceSpecification
.void
sourceManagedFunctions(FunctionNamespaceBuilder functionNamespaceTypeBuilder, ManagedFunctionSourceContext context)
Sources theFunctionNamespaceType
by 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
Property
name providing the resource.- See Also:
- Constant Field Values
-
SOURCE_NAME_PROPERTY_NAME
public static final java.lang.String SOURCE_NAME_PROPERTY_NAME
Property
name providing the source to create the procedure.- See Also:
- Constant Field Values
-
PROCEDURE_PROPERTY_NAME
public static final java.lang.String PROCEDURE_PROPERTY_NAME
Property
name identifying the procedure name.- See Also:
- Constant Field Values
-
-
Method Detail
-
loadSpecification
protected void loadSpecification(AbstractManagedFunctionSource.SpecificationContext context)
Description copied from class:AbstractManagedFunctionSource
Loads theManagedFunctionSourceSpecification
.- Specified by:
loadSpecification
in classAbstractManagedFunctionSource
- Parameters:
context
-AbstractManagedFunctionSource.SpecificationContext
.
-
sourceManagedFunctions
public void sourceManagedFunctions(FunctionNamespaceBuilder functionNamespaceTypeBuilder, ManagedFunctionSourceContext context) throws java.lang.Exception
Description copied from interface:ManagedFunctionSource
Sources theFunctionNamespaceType
by populating it via the inputFunctionNamespaceBuilder
.- Parameters:
functionNamespaceTypeBuilder
-FunctionNamespaceBuilder
to be populated with thetype definition
of theManagedFunctionSource
.context
-ManagedFunctionSourceContext
to source details to populate theFunctionNamespaceBuilder
.- Throws:
java.lang.Exception
- If fails to populate theFunctionNamespaceBuilder
.
-
-