Package com.redhat.parodos.sdkutils
Interface SdkUtils.FuncExecutor<T>
- Enclosing class:
- SdkUtils
public static interface SdkUtils.FuncExecutor<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanDefine when considering an ApiCallback result as successful.voidexecute(@NonNull ApiCallback<T> callback) Defines the @see com.redhat.parodos.sdk.invoker.ApiCallback to execute
-
Method Details
-
execute
Defines the @see com.redhat.parodos.sdk.invoker.ApiCallback to execute- Parameters:
callback- the- Throws:
ApiException- If the API callback invocation fails
-
check
Define when considering an ApiCallback result as successful.- Parameters:
result- the result to check- Returns:
- {true} if it is necessary to continue monitoring the result, {false} when it's possible to stop the monitoring.
-