Class EthosService
- java.lang.Object
-
- com.ellucian.ethos.integration.service.EthosService
-
- Direct Known Subclasses:
EthosChangeNotificationService
public abstract class EthosService extends Object
Abstract base service class used by various subclasses.- Since:
- 0.2.0
- Author:
- David Kumar
-
-
Field Summary
Fields Modifier and Type Field Description protected EthosClientBuilder
ethosClientBuilder
The EthosClientBuilder used by the subclasses to build the Ethos clients used by this service.
-
Constructor Summary
Constructors Modifier Constructor Description protected
EthosService(EthosClientBuilder ethosClientBuilder)
Constructs this service with the givenEthosClientBuilder
.protected
EthosService(String apiKey)
Constructs this service with the given API key.
-
-
-
Field Detail
-
ethosClientBuilder
protected EthosClientBuilder ethosClientBuilder
The EthosClientBuilder used by the subclasses to build the Ethos clients used by this service. All clients must use the same API key and timeout values.
-
-
Constructor Detail
-
EthosService
protected EthosService(String apiKey)
Constructs this service with the given API key.- Parameters:
apiKey
- The API key used by the EthosClients of this service when obtaining an access token per request.
-
EthosService
protected EthosService(EthosClientBuilder ethosClientBuilder)
Constructs this service with the givenEthosClientBuilder
.- Parameters:
ethosClientBuilder
- The EthosClientBuilder used to build the required clients that this service uses.
-
-