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 InstallationInfo
findInstallation(String installationUUID)
boolean
isEnabled()
void
persist(InstallationInfo installationInfo)
Persist provided installation info
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in 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:
findInstallation
in interfaceInstallationsManager
- Returns:
- registered installation info with provided UUID or null if such installation was never registered
-
persist
public void persist(@NotNull InstallationInfo installationInfo) throws IOException
Description copied from interface:InstallationsManager
Persist provided installation info- Specified by:
persist
in interfaceInstallationsManager
- Throws:
IOException
-
-