Class InternalBuildCacheArtifactsProcessingLogger
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.artifacts.ArtifactsPublishingLoggerBase
-
- jetbrains.buildServer.agent.impl.artifacts.InternalBuildCacheArtifactsProcessingLogger
-
- All Implemented Interfaces:
ArtifactsProcessorLogger
public class InternalBuildCacheArtifactsProcessingLogger extends ArtifactsPublishingLoggerBase implements ArtifactsProcessorLogger
Build cache artifacts logger that marks the cache publication status in BuildCacheHolder
-
-
Field Summary
Fields Modifier and Type Field Description static String
PUBLISHING_BUILD_CACHE_BLOCK_NAME
-
Constructor Summary
Constructors Constructor Description InternalBuildCacheArtifactsProcessingLogger(FlowLogger logger, String cacheName, BuildCacheHolder buildCacheHolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowLogger
getFlowLogger()
protected Logger
getLOG()
void
logArtifactNotFound(String srcPath)
Artifact processing errorvoid
logArtifactPublisherPublishingFailed(ArtifactPublishingFailedException e)
Log build cache publishing exception AND mark the corresponding cache publication as failed in an internal data structurevoid
logArtifactPublishingFinished(ArtifactsCollection artifactsCollection)
Log build cache publishing success AND mark the corresponding cache publication as successful in an internal data structurevoid
logProcessFinished()
entire artifacts publishing process finishedvoid
logProcessStarted(Collection<String> paths)
entire artifacts publishing process started-
Methods inherited from class jetbrains.buildServer.agent.impl.artifacts.ArtifactsPublishingLoggerBase
getPublishingArtifactsMessage, logArtifactPublishingInterrupted, logArtifactPublishingStarted, logArtifactsPublisherPublished, logCollectingFilesFinished, logCollectingFilesStarted, logProcessingFilesFinished, logProcessingFilesStarted
-
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.impl.artifacts.ArtifactsProcessorLogger
logArtifactPublishingInterrupted, logArtifactPublishingStarted, logArtifactsPublisherPublished, logCollectingFilesFinished, logCollectingFilesStarted, logProcessingFilesFinished, logProcessingFilesStarted
-
-
-
-
Field Detail
-
PUBLISHING_BUILD_CACHE_BLOCK_NAME
public static final String PUBLISHING_BUILD_CACHE_BLOCK_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InternalBuildCacheArtifactsProcessingLogger
public InternalBuildCacheArtifactsProcessingLogger(FlowLogger logger, @NotNull String cacheName, BuildCacheHolder buildCacheHolder)
-
-
Method Detail
-
getFlowLogger
public FlowLogger getFlowLogger()
- Specified by:
getFlowLogger
in interfaceArtifactsProcessorLogger
-
getLOG
@NotNull protected Logger getLOG()
- Specified by:
getLOG
in classArtifactsPublishingLoggerBase
-
logProcessStarted
public void logProcessStarted(@NotNull Collection<String> paths)
Description copied from interface:ArtifactsProcessorLogger
entire artifacts publishing process started- Specified by:
logProcessStarted
in interfaceArtifactsProcessorLogger
- Overrides:
logProcessStarted
in classArtifactsPublishingLoggerBase
-
logProcessFinished
public void logProcessFinished()
Description copied from interface:ArtifactsProcessorLogger
entire artifacts publishing process finished- Specified by:
logProcessFinished
in interfaceArtifactsProcessorLogger
- Overrides:
logProcessFinished
in classArtifactsPublishingLoggerBase
-
logArtifactPublisherPublishingFailed
public void logArtifactPublisherPublishingFailed(@NotNull ArtifactPublishingFailedException e)
Log build cache publishing exception AND mark the corresponding cache publication as failed in an internal data structure- Specified by:
logArtifactPublisherPublishingFailed
in interfaceArtifactsProcessorLogger
- Overrides:
logArtifactPublisherPublishingFailed
in classArtifactsPublishingLoggerBase
- Parameters:
e
- build cache publishing exception
-
logArtifactNotFound
public void logArtifactNotFound(@NotNull String srcPath)
Description copied from interface:ArtifactsProcessorLogger
Artifact processing error- Specified by:
logArtifactNotFound
in interfaceArtifactsProcessorLogger
- Overrides:
logArtifactNotFound
in classArtifactsPublishingLoggerBase
-
logArtifactPublishingFinished
public void logArtifactPublishingFinished(@NotNull ArtifactsCollection artifactsCollection)
Log build cache publishing success AND mark the corresponding cache publication as successful in an internal data structure- Specified by:
logArtifactPublishingFinished
in interfaceArtifactsProcessorLogger
- Overrides:
logArtifactPublishingFinished
in classArtifactsPublishingLoggerBase
- Parameters:
artifactsCollection
- published artifacts collection
-
-