Class ToolEventsListenerAdapter
- java.lang.Object
-
- jetbrains.buildServer.tools.installed.ToolEventsListenerAdapter
-
- All Implemented Interfaces:
EventListener
,ToolEventsListener
- Direct Known Subclasses:
BundledToolVersionsImpl
,DefaultToolVersionsImpl
,UpdatingAgentInfoOnToolInstalledListener
public class ToolEventsListenerAdapter extends Object implements ToolEventsListener
- Since:
- 2024.07
-
-
Constructor Summary
Constructors Constructor Description ToolEventsListenerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
toolInstallationFailed(ToolInstallationError error)
Called when the tool installation is interrupted because of some errorvoid
toolInstallationScheduled(ToolVersion tool)
Called after performing some basic validation on the server to ensure that the tool can be installed and before the actual installation is started on the servervoid
toolInstalled(InstalledToolVersion tool)
Called after the tool installation is completed on the servervoid
toolRemoved(String toolId)
Called after the tool is removed on the servervoid
toolUpdated(InstalledToolVersion tool)
Called after the tool content is updated on the server.
-
-
-
Method Detail
-
toolInstallationScheduled
public void toolInstallationScheduled(@NotNull ToolVersion tool)
Description copied from interface:ToolEventsListener
Called after performing some basic validation on the server to ensure that the tool can be installed and before the actual installation is started on the server- Specified by:
toolInstallationScheduled
in interfaceToolEventsListener
-
toolInstalled
public void toolInstalled(@NotNull InstalledToolVersion tool)
Description copied from interface:ToolEventsListener
Called after the tool installation is completed on the server- Specified by:
toolInstalled
in interfaceToolEventsListener
-
toolUpdated
public void toolUpdated(@NotNull InstalledToolVersion tool)
Description copied from interface:ToolEventsListener
Called after the tool content is updated on the server. The content is updated when the original tool package is changed- Specified by:
toolUpdated
in interfaceToolEventsListener
-
toolRemoved
public void toolRemoved(@NotNull String toolId)
Description copied from interface:ToolEventsListener
Called after the tool is removed on the server- Specified by:
toolRemoved
in interfaceToolEventsListener
-
toolInstallationFailed
public void toolInstallationFailed(@NotNull ToolInstallationError error)
Description copied from interface:ToolEventsListener
Called when the tool installation is interrupted because of some error- Specified by:
toolInstallationFailed
in interfaceToolEventsListener
-
-