Class FileAgentPluginProvider
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.agent.FileAgentPluginProvider
-
- All Implemented Interfaces:
AgentPluginsProvider2
public class FileAgentPluginProvider extends Object implements AgentPluginsProvider2
- Author:
- Eugene Petrenko (eugene.petrenko@gmail.com) Date: 31.01.11 12:57
-
-
Constructor Summary
Constructors Constructor Description FileAgentPluginProvider(String pluginPartName, File plugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<AgentExtensionInfo>
getPlugins(String pluginPartName)
Get build agent extensions (plugins, tools) of a given plugin part.ServerPluginInfo
getServerPluginInfo()
Returns information about server plugin to which the agent plugins belong.
-
-
-
Method Detail
-
getPlugins
@NotNull public Collection<AgentExtensionInfo> getPlugins(@NotNull String pluginPartName)
Description copied from interface:AgentPluginsProvider2
Get build agent extensions (plugins, tools) of a given plugin part.- Specified by:
getPlugins
in interfaceAgentPluginsProvider2
- Parameters:
pluginPartName
- plugin part name- Returns:
- all registered extensions. Files must exist on disk.
-
getServerPluginInfo
@Nullable public ServerPluginInfo getServerPluginInfo()
Description copied from interface:AgentPluginsProvider2
Returns information about server plugin to which the agent plugins belong. The server plugin may not be available sometimes, for instance this is the case with tools.- Specified by:
getServerPluginInfo
in interfaceAgentPluginsProvider2
- Returns:
- information about server plugin if it exists
-
-