Class DefaultOpenApiOperationBuilder
- java.lang.Object
-
- net.officefloor.web.openapi.operation.DefaultOpenApiOperationBuilder
-
- All Implemented Interfaces:
OpenApiOperationBuilder
public class DefaultOpenApiOperationBuilder extends java.lang.Object implements OpenApiOperationBuilder
DefaultOpenApiOperationBuilder
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description DefaultOpenApiOperationBuilder(OpenApiOperationContext context)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildComplete(OpenApiOperationContext context)
Invoked at the end of building theOperation
.void
buildInManagedFunction(OpenApiOperationFunctionContext context)
Loads theExecutionManagedFunction
information.java.lang.Class<?>[]
getUnhandledEsclationTypes()
Obtains the listing of unhandledEscalation
types.
-
-
-
Constructor Detail
-
DefaultOpenApiOperationBuilder
public DefaultOpenApiOperationBuilder(OpenApiOperationContext context)
Instantiate.- Parameters:
context
-OpenApiOperationContext
.
-
-
Method Detail
-
getUnhandledEsclationTypes
public java.lang.Class<?>[] getUnhandledEsclationTypes()
Obtains the listing of unhandledEscalation
types.- Returns:
- Listing of unhandled
Escalation
types.
-
buildInManagedFunction
public void buildInManagedFunction(OpenApiOperationFunctionContext context) throws java.lang.Exception
Description copied from interface:OpenApiOperationBuilder
Loads the
ExecutionManagedFunction
information.This will be invoked for each
ExecutionManagedFunction
in the execution tree.- Specified by:
buildInManagedFunction
in interfaceOpenApiOperationBuilder
- Parameters:
context
-OpenApiOperationFunctionContext
.- Throws:
java.lang.Exception
- If fails to loadExecutionManagedFunction
.
-
buildComplete
public void buildComplete(OpenApiOperationContext context) throws java.lang.Exception
Description copied from interface:OpenApiOperationBuilder
Invoked at the end of building theOperation
. This allows finalising theOperation
.- Specified by:
buildComplete
in interfaceOpenApiOperationBuilder
- Parameters:
context
-OpenApiOperationContext
.- Throws:
java.lang.Exception
- If fails to complete theOperation
.
-
-