public interface
ApiOperation
Known Indirect Subclasses |
Object encapsulating an API request to be executed using IndexingService
.
For examples of the API request types, refer to the general factory class
ApiOperations
and also RepositoryDoc
which is used for update item requests.
Public Method Summary
abstract List<GenericJson> | |
List<GenericJson> |
execute(IndexingService service, Optional<Consumer<ApiOperation>> operationModifier)
Executes the specific API operation for the implemented class.
|
Public Methods
public abstract List<GenericJson> execute (IndexingService service)
Executes the specific API operation for the implemented class.
Parameters
service | the IndexingService instance on which to perform the action |
---|
Returns
- the indexing service responses to each operation execution
Throws
IOException | on errors during the repository data retrieval |
---|---|
InterruptedException | when execution of indexing API call is interrupted |
public List<GenericJson> execute (IndexingService service, Optional<Consumer<ApiOperation>> operationModifier)
Executes the specific API operation for the implemented class.
This method may change without notice in future releases.
Parameters
service | the IndexingService instance on which to perform the action |
---|---|
operationModifier | method to be applied to the operation before calling execute(IndexingService) |
Returns
- the indexing service responses to each operation execution
Throws
IOException | on errors during the repository data retrieval |
---|---|
InterruptedException | when execution of indexing API call is interrupted |