Class UpdateServiceInstanceEventFlowRegistry
java.lang.Object
org.springframework.cloud.servicebroker.service.events.EventFlowRegistry<UpdateServiceInstanceInitializationFlow,UpdateServiceInstanceCompletionFlow,UpdateServiceInstanceErrorFlow,UpdateServiceInstanceRequest,UpdateServiceInstanceResponse>
org.springframework.cloud.servicebroker.service.events.UpdateServiceInstanceEventFlowRegistry
public class UpdateServiceInstanceEventFlowRegistry
extends EventFlowRegistry<UpdateServiceInstanceInitializationFlow,UpdateServiceInstanceCompletionFlow,UpdateServiceInstanceErrorFlow,UpdateServiceInstanceRequest,UpdateServiceInstanceResponse>
Event flow registry for update service instance requests.
- Author:
- Roy Clarkson
-
Constructor Summary
ConstructorDescriptionUpdateServiceInstanceEventFlowRegistry
(List<UpdateServiceInstanceInitializationFlow> initializationFlows, List<UpdateServiceInstanceCompletionFlow> completionFlows, List<UpdateServiceInstanceErrorFlow> errorFlows) Construct a newUpdateServiceInstanceEventFlowRegistry
. -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<Void>
getCompletionFlows
(UpdateServiceInstanceRequest request, UpdateServiceInstanceResponse response) Retrieve the completion flows as a Flux.reactor.core.publisher.Flux<Void>
getErrorFlows
(UpdateServiceInstanceRequest 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
-
UpdateServiceInstanceEventFlowRegistry
public UpdateServiceInstanceEventFlowRegistry(List<UpdateServiceInstanceInitializationFlow> initializationFlows, List<UpdateServiceInstanceCompletionFlow> completionFlows, List<UpdateServiceInstanceErrorFlow> errorFlows) Construct a newUpdateServiceInstanceEventFlowRegistry
.- Parameters:
initializationFlows
- the initialization flowscompletionFlows
- the completion flowserrorFlows
- the error flows
-
-
Method Details
-
getInitializationFlows
public reactor.core.publisher.Flux<Void> getInitializationFlows(UpdateServiceInstanceRequest request) Description copied from class:EventFlowRegistry
Retrieve the initialization flows as a Flux.- Specified by:
getInitializationFlows
in classEventFlowRegistry<UpdateServiceInstanceInitializationFlow,
UpdateServiceInstanceCompletionFlow, UpdateServiceInstanceErrorFlow, UpdateServiceInstanceRequest, UpdateServiceInstanceResponse> - Parameters:
request
- the service broker request- Returns:
- a Flux of initialization flows
-
getCompletionFlows
public reactor.core.publisher.Flux<Void> getCompletionFlows(UpdateServiceInstanceRequest request, UpdateServiceInstanceResponse response) Description copied from class:EventFlowRegistry
Retrieve the completion flows as a Flux.- Specified by:
getCompletionFlows
in classEventFlowRegistry<UpdateServiceInstanceInitializationFlow,
UpdateServiceInstanceCompletionFlow, UpdateServiceInstanceErrorFlow, UpdateServiceInstanceRequest, UpdateServiceInstanceResponse> - Parameters:
request
- the service broker requestresponse
- the service broker response- Returns:
- a Flux of completion flows
-
getErrorFlows
public reactor.core.publisher.Flux<Void> getErrorFlows(UpdateServiceInstanceRequest request, Throwable t) Description copied from class:EventFlowRegistry
Retrieve the error flows as a Flux.- Specified by:
getErrorFlows
in classEventFlowRegistry<UpdateServiceInstanceInitializationFlow,
UpdateServiceInstanceCompletionFlow, UpdateServiceInstanceErrorFlow, UpdateServiceInstanceRequest, UpdateServiceInstanceResponse> - Parameters:
request
- the service broker requestt
- the error- Returns:
- a Flux of error flows
-