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 BuildFinishedStatus
doSourceUpdate()
protected abstract String
getErrorExceptionPrefix()
protected abstract String
getErrorMessagePrefix()
protected abstract String
getInterruptedMessagePrefix()
void
interrupt()
protected void
registerInterruptableOperation(Interruptable operation)
protected abstract void
updateSources()
-
-
-
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()
-
-