Class AgentPluginInfoFetcherImpl
- java.lang.Object
-
- jetbrains.buildServer.agent.plugins.files.AgentPluginInfoFetcherImpl
-
- All Implemented Interfaces:
AgentPluginInfoFetcher
public class AgentPluginInfoFetcherImpl extends Object implements AgentPluginInfoFetcher
- Since:
- 2019.1
- Author:
- Maxim Zaytsev (maxim.zaytsev@jetbrains.com)
-
-
Constructor Summary
Constructors Constructor Description AgentPluginInfoFetcherImpl(AgentPluginXmlParser parser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentPluginXml
fetchPluginXml(File zip)
fetch and parse plugin descriptor file from plugin/tool zip
-
-
-
Constructor Detail
-
AgentPluginInfoFetcherImpl
public AgentPluginInfoFetcherImpl(@NotNull AgentPluginXmlParser parser)
-
-
Method Detail
-
fetchPluginXml
@Nullable public AgentPluginXml fetchPluginXml(@NotNull File zip) throws PluginUnpackException
Description copied from interface:AgentPluginInfoFetcher
fetch and parse plugin descriptor file from plugin/tool zip- Specified by:
fetchPluginXml
in interfaceAgentPluginInfoFetcher
- Parameters:
zip
- specified archive- Returns:
- parsed xml or null if xml is not found
- Throws:
PluginUnpackException
- if error during reading or unpacking archive happens
-
-