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 StringPUBLISHING_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 FlowLoggergetFlowLogger()protected LoggergetLOG()voidlogArtifactNotFound(String srcPath)Artifact processing errorvoidlogArtifactPublisherPublishingFailed(ArtifactPublishingFailedException e)Log build cache publishing exception AND mark the corresponding cache publication as failed in an internal data structurevoidlogArtifactPublishingFinished(ArtifactsCollection artifactsCollection)Log build cache publishing success AND mark the corresponding cache publication as successful in an internal data structurevoidlogProcessFinished()entire artifacts publishing process finishedvoidlogProcessStarted(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:
getFlowLoggerin interfaceArtifactsProcessorLogger
-
getLOG
@NotNull protected Logger getLOG()
- Specified by:
getLOGin classArtifactsPublishingLoggerBase
-
logProcessStarted
public void logProcessStarted(@NotNull Collection<String> paths)Description copied from interface:ArtifactsProcessorLoggerentire artifacts publishing process started- Specified by:
logProcessStartedin interfaceArtifactsProcessorLogger- Overrides:
logProcessStartedin classArtifactsPublishingLoggerBase
-
logProcessFinished
public void logProcessFinished()
Description copied from interface:ArtifactsProcessorLoggerentire artifacts publishing process finished- Specified by:
logProcessFinishedin interfaceArtifactsProcessorLogger- Overrides:
logProcessFinishedin 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:
logArtifactPublisherPublishingFailedin interfaceArtifactsProcessorLogger- Overrides:
logArtifactPublisherPublishingFailedin classArtifactsPublishingLoggerBase- Parameters:
e- build cache publishing exception
-
logArtifactNotFound
public void logArtifactNotFound(@NotNull String srcPath)Description copied from interface:ArtifactsProcessorLoggerArtifact processing error- Specified by:
logArtifactNotFoundin interfaceArtifactsProcessorLogger- Overrides:
logArtifactNotFoundin 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:
logArtifactPublishingFinishedin interfaceArtifactsProcessorLogger- Overrides:
logArtifactPublishingFinishedin classArtifactsPublishingLoggerBase- Parameters:
artifactsCollection- published artifacts collection
-
-