Class PluginUnpackerBase<T>
- java.lang.Object
-
- jetbrains.buildServer.agent.plugins.files.PluginUnpackerBase<T>
-
- All Implemented Interfaces:
AgentPluginZipUnpacker
- Direct Known Subclasses:
NewPluginsUnpacker
,OldPluginsUnpacker
public abstract class PluginUnpackerBase<T> extends Object implements AgentPluginZipUnpacker
Created by Eugene Petrenko (eugene.petrenko@gmail.com) Date: 17.08.11 19:23
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PluginUnpackerBase(T config, ArchiveExtractorManager archiveExtractorManager)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static void
close(ZipFile zipFile)
protected String
getPluginNameFromFile(File pluginZip)
protected File
unpackPlugin(File zip, String unpackPrefix, File unpackFolder)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.agent.plugins.files.AgentPluginZipUnpacker
unpackPlugins, unpackPlugins
-
-
-
-
Field Detail
-
LOG
@NotNull protected final Logger LOG
-
myConfig
@NotNull protected final T myConfig
-
TEAMCITY_USE_ARCHIVE_EXTRACTOR_MANAGER
public static final String TEAMCITY_USE_ARCHIVE_EXTRACTOR_MANAGER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PluginUnpackerBase
protected PluginUnpackerBase(@NotNull T config, @NotNull ArchiveExtractorManager archiveExtractorManager)
-
-
Method Detail
-
unpackPlugin
@NotNull protected File unpackPlugin(@NotNull File zip, @NotNull String unpackPrefix, @NotNull File unpackFolder) throws PluginUnpackException
- Throws:
PluginUnpackException
-
close
protected static void close(@Nullable ZipFile zipFile)
-
-