Interface InstallationService

All Known Implementing Classes:
InstallationServiceImpl

public interface InstallationService
Author:
Jeoffrey HAEYAERT (jeoffrey.haeyaert at graviteesource.com), GraviteeSource Team
  • Method Details

    • get

      io.reactivex.rxjava3.core.Single<Installation> get()
      Get the current installation.
      Returns:
      the current installation or an InstallationNotFoundException exception.
    • getOrInitialize

      io.reactivex.rxjava3.core.Single<Installation> getOrInitialize()
      Get or initialize the installation. A new installation will be created only if none exists.
      Returns:
      the created or already existing installation.
    • setAdditionalInformation

      io.reactivex.rxjava3.core.Single<Installation> setAdditionalInformation(Map<String,String> additionalInformation)
      Set additional information of the current installation.
      Parameters:
      additionalInformation - the list of additional information to set on the existing installation.
      Returns:
      the updated installation
    • addAdditionalInformation

      io.reactivex.rxjava3.core.Single<Installation> addAdditionalInformation(Map<String,String> additionalInformation)
      Add or update the additional information of the current installation.
      Parameters:
      additionalInformation - the list of additional information to add or update on the existing installation.
      Returns:
      the updated installation.
    • delete

      io.reactivex.rxjava3.core.Completable delete()
      Delete the current installation.
      Returns:
      the operation status