Class DestinationLoaderChain.DestinationLoaderChainBuilder
java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.DestinationLoaderChain.DestinationLoaderChainBuilder
- Enclosing class:
- DestinationLoaderChain
Builder class to construct a
DestinationLoaderChain.-
Method Summary
Modifier and TypeMethodDescriptionappend(DestinationLoader nextLoader) The nextDestinationLoaderto query if the previous loaders did not return anyDestination.build()Finally create the immutableDestinationLoaderChainbased on the given order ofDestinationLoaders.
-
Method Details
-
append
@Nonnull public DestinationLoaderChain.DestinationLoaderChainBuilder append(@Nonnull DestinationLoader nextLoader) The nextDestinationLoaderto query if the previous loaders did not return anyDestination.- Parameters:
nextLoader- The next loader to register- Returns:
- This builder.
-
build
Finally create the immutableDestinationLoaderChainbased on the given order ofDestinationLoaders.- Returns:
- A fully functional
DestinationLoaderChain.
-