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 voidcloseArchive()protected MatchercreatePathMatcher(String targetPathOnServer)protected voidopenArchive(Collection<File> files2Add)protected voidputFileToArchive(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:
createPathMatcherin classArchivePreprocessor
-
openArchive
protected void openArchive(Collection<File> files2Add) throws IOException
- Specified by:
openArchivein classArchivePreprocessor- Throws:
IOException
-
putFileToArchive
protected void putFileToArchive(File fileToAdd, String entryName) throws IOException
- Specified by:
putFileToArchivein classArchivePreprocessor- Throws:
IOException
-
closeArchive
protected void closeArchive() throws IOException- Specified by:
closeArchivein classArchivePreprocessor- Throws:
IOException
-
-