Package io.gravitee.am.service.impl
Class InstallationServiceImpl
java.lang.Object
io.gravitee.am.service.impl.InstallationServiceImpl
- All Implemented Interfaces:
InstallationService
- Author:
- Jeoffrey HAEYAERT (jeoffrey.haeyaert at graviteesource.com), GraviteeSource Team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<Installation>addAdditionalInformation(Map<String, String> additionalInformation) Add or update the additional information of the current installation.io.reactivex.rxjava3.core.Completabledelete()Delete the current installation.io.reactivex.rxjava3.core.Single<Installation>get()Get the current installation.io.reactivex.rxjava3.core.Single<Installation>Get or initialize the installation.io.reactivex.rxjava3.core.Single<Installation>setAdditionalInformation(Map<String, String> additionalInformation) Set additional information of the current installation.
-
Constructor Details
-
InstallationServiceImpl
-
-
Method Details
-
get
Description copied from interface:InstallationServiceGet the current installation.- Specified by:
getin interfaceInstallationService- Returns:
- the current installation or an
InstallationNotFoundExceptionexception.
-
getOrInitialize
Description copied from interface:InstallationServiceGet or initialize the installation. A new installation will be created only if none exists.- Specified by:
getOrInitializein interfaceInstallationService- Returns:
- the created or already existing installation.
-
setAdditionalInformation
public io.reactivex.rxjava3.core.Single<Installation> setAdditionalInformation(Map<String, String> additionalInformation) Description copied from interface:InstallationServiceSet additional information of the current installation.- Specified by:
setAdditionalInformationin interfaceInstallationService- Parameters:
additionalInformation- the list of additional information to set on the existing installation.- Returns:
- the updated installation
-
addAdditionalInformation
public io.reactivex.rxjava3.core.Single<Installation> addAdditionalInformation(Map<String, String> additionalInformation) Description copied from interface:InstallationServiceAdd or update the additional information of the current installation.- Specified by:
addAdditionalInformationin interfaceInstallationService- Parameters:
additionalInformation- the list of additional information to add or update on the existing installation.- Returns:
- the updated installation.
-
delete
public io.reactivex.rxjava3.core.Completable delete()Description copied from interface:InstallationServiceDelete the current installation.- Specified by:
deletein interfaceInstallationService- Returns:
- the operation status
-