Class DeleteServiceInstanceEventFlowRegistry
java.lang.Object
org.springframework.cloud.servicebroker.service.events.EventFlowRegistry<DeleteServiceInstanceInitializationFlow,DeleteServiceInstanceCompletionFlow,DeleteServiceInstanceErrorFlow,DeleteServiceInstanceRequest,DeleteServiceInstanceResponse>
org.springframework.cloud.servicebroker.service.events.DeleteServiceInstanceEventFlowRegistry
public class DeleteServiceInstanceEventFlowRegistry
extends EventFlowRegistry<DeleteServiceInstanceInitializationFlow,DeleteServiceInstanceCompletionFlow,DeleteServiceInstanceErrorFlow,DeleteServiceInstanceRequest,DeleteServiceInstanceResponse>
Event flow registry for delete service instance requests.
- Author:
- Roy Clarkson
-
Constructor Summary
ConstructorDescriptionDeleteServiceInstanceEventFlowRegistry
(List<DeleteServiceInstanceInitializationFlow> initializationFlows, List<DeleteServiceInstanceCompletionFlow> completionFlows, List<DeleteServiceInstanceErrorFlow> errorFlows) Construct a newDeleteServiceInstanceEventFlowRegistry
. -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<Void>
getCompletionFlows
(DeleteServiceInstanceRequest request, DeleteServiceInstanceResponse response) Retrieve the completion flows as a Flux.reactor.core.publisher.Flux<Void>
getErrorFlows
(DeleteServiceInstanceRequest request, Throwable t) Retrieve the error flows as a Flux.reactor.core.publisher.Flux<Void>
Retrieve the initialization flows as a Flux.Methods inherited from class org.springframework.cloud.servicebroker.service.events.EventFlowRegistry
addCompletionFlow, addErrorFlow, addInitializationFlow, getCompletionFlowsInternal, getErrorFlowsInternal, getInitializationFlowsInternal
-
Constructor Details
-
DeleteServiceInstanceEventFlowRegistry
public DeleteServiceInstanceEventFlowRegistry(List<DeleteServiceInstanceInitializationFlow> initializationFlows, List<DeleteServiceInstanceCompletionFlow> completionFlows, List<DeleteServiceInstanceErrorFlow> errorFlows) Construct a newDeleteServiceInstanceEventFlowRegistry
.- Parameters:
initializationFlows
- the initialization flowscompletionFlows
- the completion flowserrorFlows
- the error flows
-
-
Method Details
-
getInitializationFlows
public reactor.core.publisher.Flux<Void> getInitializationFlows(DeleteServiceInstanceRequest request) Description copied from class:EventFlowRegistry
Retrieve the initialization flows as a Flux.- Specified by:
getInitializationFlows
in classEventFlowRegistry<DeleteServiceInstanceInitializationFlow,
DeleteServiceInstanceCompletionFlow, DeleteServiceInstanceErrorFlow, DeleteServiceInstanceRequest, DeleteServiceInstanceResponse> - Parameters:
request
- the service broker request- Returns:
- a Flux of initialization flows
-
getCompletionFlows
public reactor.core.publisher.Flux<Void> getCompletionFlows(DeleteServiceInstanceRequest request, DeleteServiceInstanceResponse response) Description copied from class:EventFlowRegistry
Retrieve the completion flows as a Flux.- Specified by:
getCompletionFlows
in classEventFlowRegistry<DeleteServiceInstanceInitializationFlow,
DeleteServiceInstanceCompletionFlow, DeleteServiceInstanceErrorFlow, DeleteServiceInstanceRequest, DeleteServiceInstanceResponse> - Parameters:
request
- the service broker requestresponse
- the service broker response- Returns:
- a Flux of completion flows
-
getErrorFlows
public reactor.core.publisher.Flux<Void> getErrorFlows(DeleteServiceInstanceRequest request, Throwable t) Description copied from class:EventFlowRegistry
Retrieve the error flows as a Flux.- Specified by:
getErrorFlows
in classEventFlowRegistry<DeleteServiceInstanceInitializationFlow,
DeleteServiceInstanceCompletionFlow, DeleteServiceInstanceErrorFlow, DeleteServiceInstanceRequest, DeleteServiceInstanceResponse> - Parameters:
request
- the service broker requestt
- the error- Returns:
- a Flux of error flows
-