See: Description
| Interface | Description |
|---|---|
| Service<S extends ServiceSpec,R extends ServiceResult> |
Defines a service.
|
| Service.DQIDServicePurgeIndicator |
Purge indicator service.
|
| ServiceResult |
Represents the result of a service execution.
|
| Class | Description |
|---|---|
| DQIDServiceFactory |
The factory for all {addon.label}'s service instances.
|
| ServiceSpec |
Defines the settings for a service execution.
|
| Enum | Description |
|---|---|
| ServiceType |
Defines all the services that are available in the API.
|
Provides APIs to execute the {addon.label} services.
Initializes the ServiceSpec to create a service spec.
ServiceSpec serviceSpec = new ServiceSpec();
Uses DQIDServiceFactory to get the service and calls the execute method.
To run the Purge indicators service:
Initializes the PurgeIndicatorSpec to create a spec to purge indicators.
PurgeIndicatorSpec serviceSpec = new PurgeIndicatorSpec();
Uses DQIDServiceFactory to get the service and calls the execute method.
PurgeIndicatorResult result = (PurgeIndicatorResult) DQIDServiceFactory.getService(ServiceType.PURGE_INDICATORS).execute(serviceSpec);
The execution result can be retrieved in PurgeIndicatorResult.