public class TimeTrackingApi extends Object
| Constructor and Description |
|---|
TimeTrackingApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<List<TimeTrackingProvider>> |
getAvailableTimeTrackingImplementations(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get all time tracking providers
Returns all time tracking providers.
|
io.reactivex.Single<TimeTrackingProvider> |
getSelectedTimeTrackingImplementation(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get selected time tracking provider
Returns the time tracking provider that is currently selected.
|
io.reactivex.Single<TimeTrackingConfiguration> |
getSharedTimeTrackingConfiguration(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get time tracking settings
Returns the time tracking settings.
|
io.reactivex.Single<Object> |
selectTimeTrackingImplementation(TimeTrackingProvider timeTrackingProvider,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Select time tracking provider
Selects a time tracking provider.
|
io.reactivex.Single<TimeTrackingConfiguration> |
setSharedTimeTrackingConfiguration(TimeTrackingConfiguration timeTrackingConfiguration,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Set time tracking settings
Sets the time tracking settings.
|
public TimeTrackingApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<List<TimeTrackingProvider>> getAvailableTimeTrackingImplementations(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<TimeTrackingProvider> getSelectedTimeTrackingImplementation(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<TimeTrackingConfiguration> getSharedTimeTrackingConfiguration(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<Object> selectTimeTrackingImplementation(TimeTrackingProvider timeTrackingProvider, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
timeTrackingProvider - (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<TimeTrackingConfiguration> setSharedTimeTrackingConfiguration(TimeTrackingConfiguration timeTrackingConfiguration, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
timeTrackingConfiguration - (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.