Class ArtifactsBuilderAdapter
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.artifacts.ArtifactsBuilderAdapter
-
- All Implemented Interfaces:
EventListener,ArtifactsBuilderListener,TeamCityExtension
- Direct Known Subclasses:
BuildCacheArtifactsBuilderListener
public class ArtifactsBuilderAdapter extends Object implements ArtifactsBuilderListener
Adapter class forArtifactsBuilderListener, extend this class if you intend to create custom ArtifactsBuilder listener.
-
-
Constructor Summary
Constructors Constructor Description ArtifactsBuilderAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterCollectingFiles(List<ArtifactsCollection> artifacts)Called when search for artifacts finished.voidafterPreprocessingFiles(List<ArtifactsCollection> artifacts)Called after the artifacts preprocessing (whether there was an error in preprocessors or not)voidartifactsNotFound(String path)Called if artifacts matched by specified artifact path were not found on local disk.voidbeforeCollectingFiles(Collection<String> paths)Is called before process of finding of artifacts on local disk startedvoidbeforePreprocessingFiles(List<ArtifactsCollection> artifacts)Called before artifacts preprocessing is started.
-
-
-
Method Detail
-
beforeCollectingFiles
public void beforeCollectingFiles(@NotNull Collection<String> paths)Description copied from interface:ArtifactsBuilderListenerIs called before process of finding of artifacts on local disk started- Specified by:
beforeCollectingFilesin interfaceArtifactsBuilderListener- Parameters:
paths- artifact paths, i.e. src1 => target1\n src2 => target2\n...
-
afterCollectingFiles
public void afterCollectingFiles(@NotNull List<ArtifactsCollection> artifacts)Description copied from interface:ArtifactsBuilderListenerCalled when search for artifacts finished.- Specified by:
afterCollectingFilesin interfaceArtifactsBuilderListener- Parameters:
artifacts- list of found artifacts collections
-
beforePreprocessingFiles
public void beforePreprocessingFiles(@NotNull List<ArtifactsCollection> artifacts)Description copied from interface:ArtifactsBuilderListenerCalled before artifacts preprocessing is started. During preprocessing, collections of artifacts may change (several artifacts can be packed into one file)- Specified by:
beforePreprocessingFilesin interfaceArtifactsBuilderListener- Parameters:
artifacts- artifacts to preprocess
-
afterPreprocessingFiles
public void afterPreprocessingFiles(@NotNull List<ArtifactsCollection> artifacts)Description copied from interface:ArtifactsBuilderListenerCalled after the artifacts preprocessing (whether there was an error in preprocessors or not)- Specified by:
afterPreprocessingFilesin interfaceArtifactsBuilderListener- Parameters:
artifacts- final artifacts
-
artifactsNotFound
public void artifactsNotFound(@NotNull String path)Description copied from interface:ArtifactsBuilderListenerCalled if artifacts matched by specified artifact path were not found on local disk.- Specified by:
artifactsNotFoundin interfaceArtifactsBuilderListener- Parameters:
path- artifact path (single line from artifacts paths)
-
-