Class SevenZPreprocessor
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.artifacts.ArchivePreprocessor
-
- jetbrains.buildServer.agent.impl.artifacts.SevenZPreprocessor
-
- All Implemented Interfaces:
AgentExtension
,ArtifactsPreprocessor
,TeamCityExtension
public class SevenZPreprocessor extends ArchivePreprocessor
Created by Nikita.Skvortsov date: 29.10.2014.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jetbrains.buildServer.agent.ArtifactsPreprocessor
ArtifactsPreprocessor.SymbolicLinksMode
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.agent.impl.artifacts.ArchivePreprocessor
FILES_TO_LOG_COUNT, myTempArchiveFile
-
Fields inherited from interface jetbrains.buildServer.agent.ArtifactsPreprocessor
TARGET_PATH_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description SevenZPreprocessor(BuildProgressLogger logger, File tempDir)
SevenZPreprocessor(EventDispatcher<AgentLifeCycleListener> dispatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
closeArchive()
protected Matcher
createPathMatcher(String targetPathOnServer)
protected void
openArchive(Collection<File> files2Add)
protected void
putFileToArchive(File fileToAdd, String entryName)
-
Methods inherited from class jetbrains.buildServer.agent.impl.artifacts.ArchivePreprocessor
createFileOutputStream, getTargetKey, isFileAccessible, processArtifacts, setLogger, shouldProcess
-
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.ArtifactsPreprocessor
processArtifacts
-
-
-
-
Constructor Detail
-
SevenZPreprocessor
@Autowired public SevenZPreprocessor(@NotNull EventDispatcher<AgentLifeCycleListener> dispatcher)
-
SevenZPreprocessor
public SevenZPreprocessor(BuildProgressLogger logger, File tempDir)
-
-
Method Detail
-
createPathMatcher
protected Matcher createPathMatcher(String targetPathOnServer)
- Specified by:
createPathMatcher
in classArchivePreprocessor
-
openArchive
protected void openArchive(Collection<File> files2Add) throws IOException
- Specified by:
openArchive
in classArchivePreprocessor
- Throws:
IOException
-
putFileToArchive
protected void putFileToArchive(File fileToAdd, String entryName) throws IOException
- Specified by:
putFileToArchive
in classArchivePreprocessor
- Throws:
IOException
-
closeArchive
protected void closeArchive() throws IOException
- Specified by:
closeArchive
in classArchivePreprocessor
- Throws:
IOException
-
-