Class AbstractSourcesUpdater
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.patch.AbstractSourcesUpdater
-
- Direct Known Subclasses:
UpdateSourcesFromAgent,UpdateSourcesPatcherBase
public abstract class AbstractSourcesUpdater extends Object
- Author:
- Eugene Petrenko Created: 08.05.2009 9:02:36
-
-
Constructor Summary
Constructors Constructor Description AbstractSourcesUpdater(BuildProgressLogger logger)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description BuildFinishedStatusdoSourceUpdate()protected abstract StringgetErrorExceptionPrefix()protected abstract StringgetErrorMessagePrefix()protected abstract StringgetInterruptedMessagePrefix()voidinterrupt()protected voidregisterInterruptableOperation(Interruptable operation)protected abstract voidupdateSources()
-
-
-
Constructor Detail
-
AbstractSourcesUpdater
public AbstractSourcesUpdater(@NotNull BuildProgressLogger logger)
-
-
Method Detail
-
registerInterruptableOperation
protected void registerInterruptableOperation(@NotNull Interruptable operation)
-
interrupt
public void interrupt()
-
doSourceUpdate
@Nullable public BuildFinishedStatus doSourceUpdate() throws RecoverableStageFailure
- Throws:
RecoverableStageFailure
-
updateSources
protected abstract void updateSources() throws RecoverableStageFailure, RunBuildException, IOException, VcsException, UpdateSourcesInterruptedException
-
getInterruptedMessagePrefix
@NotNull protected abstract String getInterruptedMessagePrefix()
-
getErrorMessagePrefix
@NotNull protected abstract String getErrorMessagePrefix()
-
getErrorExceptionPrefix
@NotNull protected abstract String getErrorExceptionPrefix()
-
-