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 nextDestinationLoader
to query if the previous loaders did not return anyDestination
.build()
Finally create the immutableDestinationLoaderChain
based on the given order ofDestinationLoader
s.
-
Method Details
-
append
@Nonnull public DestinationLoaderChain.DestinationLoaderChainBuilder append(@Nonnull DestinationLoader nextLoader) The nextDestinationLoader
to query if the previous loaders did not return anyDestination
.- Parameters:
nextLoader
- The next loader to register- Returns:
- This builder.
-
build
Finally create the immutableDestinationLoaderChain
based on the given order ofDestinationLoader
s.- Returns:
- A fully functional
DestinationLoaderChain
.
-