Class PersistedToolsState
- java.lang.Object
-
- jetbrains.buildServer.tools.state.PersistedToolsState
-
- All Implemented Interfaces:
ToolsState
public class PersistedToolsState extends Object implements ToolsState
-
-
Constructor Summary
Constructors Constructor Description PersistedToolsState(ToolPaths paths)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<ToolState>all()Collection<ErrorToolState>allErrors()Collection<InstalledToolState>allInstalled()ErrorToolStatefindError(String toolId)ToolInstallationSourcefindInstallationSource(String toolId)ToolInstallationStatusfindInstallationStatus(String toolId)InstalledToolStatefindInstalled(String toolId)voidput(ToolState state)voidremove(String toolId)
-
-
-
Constructor Detail
-
PersistedToolsState
public PersistedToolsState(@NotNull ToolPaths paths)
-
-
Method Detail
-
findInstallationStatus
@Nullable public ToolInstallationStatus findInstallationStatus(@NotNull String toolId)
- Specified by:
findInstallationStatusin interfaceToolsState
-
findInstallationSource
@Nullable public ToolInstallationSource findInstallationSource(@NotNull String toolId)
- Specified by:
findInstallationSourcein interfaceToolsState
-
findInstalled
@Nullable public InstalledToolState findInstalled(@NotNull String toolId)
- Specified by:
findInstalledin interfaceToolsState
-
findError
@Nullable public ErrorToolState findError(@NotNull String toolId)
- Specified by:
findErrorin interfaceToolsState
-
all
@NotNull public Collection<ToolState> all()
- Specified by:
allin interfaceToolsState
-
allInstalled
@NotNull public Collection<InstalledToolState> allInstalled()
- Specified by:
allInstalledin interfaceToolsState
-
allErrors
@NotNull public Collection<ErrorToolState> allErrors()
- Specified by:
allErrorsin interfaceToolsState
-
put
public void put(@NotNull ToolState state)- Specified by:
putin interfaceToolsState
-
remove
public void remove(@NotNull String toolId)- Specified by:
removein interfaceToolsState
-
-