Class UserArtifactsProcessingLogger
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.artifacts.ArtifactsPublishingLoggerBase
-
- jetbrains.buildServer.agent.impl.artifacts.UserArtifactsProcessingLogger
-
- All Implemented Interfaces:
ArtifactsProcessorLogger
public class UserArtifactsProcessingLogger extends ArtifactsPublishingLoggerBase implements ArtifactsProcessorLogger
- Author:
- Eugene Petrenko (eugene.petrenko@gmail.com) Date: 06.05.11 14:21
-
-
Field Summary
Fields Modifier and Type Field Description static String
PUBLISHING_ARTIFACTS_BLOCK_NAME
-
Constructor Summary
Constructors Constructor Description UserArtifactsProcessingLogger(FlowLogger logger)
-
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)
phase 3.x.void
logArtifactPublishingInterrupted(ArtifactsCollection artifactsCollection)
void
logArtifactPublishingStarted(ArtifactsPublisher publisher, ArtifactsCollection artifactsCollection)
phase 3.void
logCollectingFilesStarted(Collection<String> paths)
phase 1.void
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, logArtifactPublishingFinished, logArtifactsPublisherPublished, logCollectingFilesFinished, 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
logArtifactPublishingFinished, logArtifactsPublisherPublished, logCollectingFilesFinished, logProcessingFilesFinished, logProcessingFilesStarted
-
-
-
-
Field Detail
-
PUBLISHING_ARTIFACTS_BLOCK_NAME
public static final String PUBLISHING_ARTIFACTS_BLOCK_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UserArtifactsProcessingLogger
public UserArtifactsProcessingLogger(@NotNull FlowLogger logger)
-
-
Method Detail
-
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
-
logCollectingFilesStarted
public void logCollectingFilesStarted(@NotNull Collection<String> paths)
Description copied from interface:ArtifactsProcessorLogger
phase 1. collecting files started- Specified by:
logCollectingFilesStarted
in interfaceArtifactsProcessorLogger
- Overrides:
logCollectingFilesStarted
in classArtifactsPublishingLoggerBase
-
logArtifactNotFound
public void logArtifactNotFound(@NotNull String srcPath)
Description copied from interface:ArtifactsProcessorLogger
Artifact processing error- Specified by:
logArtifactNotFound
in interfaceArtifactsProcessorLogger
- Overrides:
logArtifactNotFound
in classArtifactsPublishingLoggerBase
-
logArtifactPublishingStarted
public void logArtifactPublishingStarted(@NotNull ArtifactsPublisher publisher, @NotNull ArtifactsCollection artifactsCollection)
Description copied from interface:ArtifactsProcessorLogger
phase 3. sending files to server started- Specified by:
logArtifactPublishingStarted
in interfaceArtifactsProcessorLogger
- Overrides:
logArtifactPublishingStarted
in classArtifactsPublishingLoggerBase
-
logArtifactPublishingInterrupted
public void logArtifactPublishingInterrupted(@NotNull ArtifactsCollection artifactsCollection)
- Specified by:
logArtifactPublishingInterrupted
in interfaceArtifactsProcessorLogger
- Overrides:
logArtifactPublishingInterrupted
in classArtifactsPublishingLoggerBase
-
logArtifactPublisherPublishingFailed
public void logArtifactPublisherPublishingFailed(@NotNull ArtifactPublishingFailedException e)
Description copied from interface:ArtifactsProcessorLogger
phase 3.x. sending files to the server with artifact publisher failed- Specified by:
logArtifactPublisherPublishingFailed
in interfaceArtifactsProcessorLogger
- Overrides:
logArtifactPublisherPublishingFailed
in classArtifactsPublishingLoggerBase
-
getFlowLogger
public FlowLogger getFlowLogger()
- Specified by:
getFlowLogger
in interfaceArtifactsProcessorLogger
-
-