Package jetbrains.buildServer.serverSide
Class PreferencesInstallationsManagerImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.PreferencesInstallationsManagerImpl
-
- All Implemented Interfaces:
InstallationsManager
public class PreferencesInstallationsManagerImpl extends Object implements InstallationsManager
-
-
Constructor Summary
Constructors Constructor Description PreferencesInstallationsManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstallationInfofindInstallation(String installationUUID)booleanisEnabled()voidpersist(InstallationInfo installationInfo)Persist provided installation info
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabledin interfaceInstallationsManager- Returns:
- true if installation manager could be used (is enabled by config and no errors occurred)
-
findInstallation
@Nullable public InstallationInfo findInstallation(@NotNull String installationUUID)
- Specified by:
findInstallationin interfaceInstallationsManager- Returns:
- registered installation info with provided UUID or null if such installation was never registered
-
persist
public void persist(@NotNull InstallationInfo installationInfo) throws IOExceptionDescription copied from interface:InstallationsManagerPersist provided installation info- Specified by:
persistin interfaceInstallationsManager- Throws:
IOException
-
-