Uses of Interface
com.sap.cloud.sdk.cloudplatform.thread.Executable
Packages that use Executable
Package
Description
-
Uses of Executable in com.sap.cloud.sdk.cloudplatform.requestheader
Methods in com.sap.cloud.sdk.cloudplatform.requestheader with parameters of type ExecutableModifier and TypeMethodDescriptionstatic voidRequestHeaderAccessor.executeWithFallbackHeaderContainer(Supplier<RequestHeaderContainer> headers, Executable executable) Runs the givenexecutablewith the givenheadersas a fallback option that should be used in case there is no currentRequestHeaderContainer.static voidRequestHeaderAccessor.executeWithHeaderContainer(RequestHeaderContainer headers, Executable executable) Runs the givenexecutablewith the givenheadersavailable.static voidRequestHeaderAccessor.executeWithHeaderContainer(Map<String, String> headers, Executable executable) Runs the givenexecutablewith the givenheadersavailable. -
Uses of Executable in com.sap.cloud.sdk.cloudplatform.security
Methods in com.sap.cloud.sdk.cloudplatform.security with parameters of type ExecutableModifier and TypeMethodDescriptionstatic voidAuthTokenAccessor.executeWithAuthToken(AuthToken authToken, Executable executable) Execute the givenExecutablewith a given token.static voidAuthTokenAccessor.executeWithFallbackAuthToken(Supplier<AuthToken> fallbackAuthToken, Executable executable) Execute the givenExecutable, using the given token as fallback if there is no other token available. -
Uses of Executable in com.sap.cloud.sdk.cloudplatform.security.principal
Methods in com.sap.cloud.sdk.cloudplatform.security.principal with parameters of type ExecutableModifier and TypeMethodDescriptionstatic voidPrincipalAccessor.executeWithFallbackPrincipal(Supplier<Principal> fallbackPrincipal, Executable executable) Execute the givenExecutable, using the given principal as fallback if there is no other principal available.static voidPrincipalAccessor.executeWithPrincipal(Principal principal, Executable executable) Execute the givenExecutableon behalf of a given principal. -
Uses of Executable in com.sap.cloud.sdk.cloudplatform.tenant
Methods in com.sap.cloud.sdk.cloudplatform.tenant with parameters of type ExecutableModifier and TypeMethodDescriptionstatic voidTenantAccessor.executeWithFallbackTenant(Supplier<Tenant> fallbackTenant, Executable executable) Execute the givenExecutable, using the given tenant as fallback if there is no other tenant available.static voidTenantAccessor.executeWithTenant(Tenant tenant, Executable executable) Execute the givenExecutableon behalf of a given tenant. -
Uses of Executable in com.sap.cloud.sdk.cloudplatform.thread
Methods in com.sap.cloud.sdk.cloudplatform.thread with parameters of type ExecutableModifier and TypeMethodDescriptionvoidThreadContextExecutor.execute(Executable executable) Executes the givenExecutableas if it was called inside aThreadContext.