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()
ErrorToolState
findError(String toolId)
ToolInstallationSource
findInstallationSource(String toolId)
ToolInstallationStatus
findInstallationStatus(String toolId)
InstalledToolState
findInstalled(String toolId)
void
put(ToolState state)
void
remove(String toolId)
-
-
-
Constructor Detail
-
PersistedToolsState
public PersistedToolsState(@NotNull ToolPaths paths)
-
-
Method Detail
-
findInstallationStatus
@Nullable public ToolInstallationStatus findInstallationStatus(@NotNull String toolId)
- Specified by:
findInstallationStatus
in interfaceToolsState
-
findInstallationSource
@Nullable public ToolInstallationSource findInstallationSource(@NotNull String toolId)
- Specified by:
findInstallationSource
in interfaceToolsState
-
findInstalled
@Nullable public InstalledToolState findInstalled(@NotNull String toolId)
- Specified by:
findInstalled
in interfaceToolsState
-
findError
@Nullable public ErrorToolState findError(@NotNull String toolId)
- Specified by:
findError
in interfaceToolsState
-
all
@NotNull public Collection<ToolState> all()
- Specified by:
all
in interfaceToolsState
-
allInstalled
@NotNull public Collection<InstalledToolState> allInstalled()
- Specified by:
allInstalled
in interfaceToolsState
-
allErrors
@NotNull public Collection<ErrorToolState> allErrors()
- Specified by:
allErrors
in interfaceToolsState
-
put
public void put(@NotNull ToolState state)
- Specified by:
put
in interfaceToolsState
-
remove
public void remove(@NotNull String toolId)
- Specified by:
remove
in interfaceToolsState
-
-