Package de.xima.fc.proma.context
Class PublicPromaInvokableCall<T,C extends de.xima.proma.restclient.pub.gen.ApiCall<?>>
java.lang.Object
de.xima.fc.proma.context.PublicPromaInvokableCall<T,C>
- Type Parameters:
T
- Type of the result returned by the PROMA API call.C
- Type of the PROMA API call.
public final class PublicPromaInvokableCall<T,C extends de.xima.proma.restclient.pub.gen.ApiCall<?>>
extends Object
Simple POJO that combines a
PROMA API call
to a specific endpoint with an invocation builder for a
particular configuration of that end point. Use by IPublicPromaCallInvoker.invoke(PublicPromaInvokableCall, Duration)
.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPublicPromaInvokableCall
(C call, Function<? super C, ? extends de.xima.proma.restclient.pub.gen.ApiInvocation<T>> invocationBuilder) A new POJO with the given data. -
Method Summary
-
Constructor Details
-
PublicPromaInvokableCall
public PublicPromaInvokableCall(C call, Function<? super C, ? extends de.xima.proma.restclient.pub.gen.ApiInvocation<T>> invocationBuilder) A new POJO with the given data.- Parameters:
call
- The PROMA API call to execute.invocationBuilder
- A builder that creates an invocation with a specific configuration from an API call.
-
-
Method Details