Class UpdateSourcesOperationBase
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.patch.UpdateSourcesOperationBase
-
- All Implemented Interfaces:
Interruptable
- Direct Known Subclasses:
PatchApplierImpl
,PatchDownloaderImpl
,PatchStreamDownloader
public class UpdateSourcesOperationBase extends Object implements Interruptable
-
-
Constructor Summary
Constructors Constructor Description UpdateSourcesOperationBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkInterrupted()
void
interrupt()
boolean
isInterrupted()
protected void
onInterruptOperation()
void
registerSupOperation(Interruptable oper)
void
unregisterSupOperation(Interruptable oper)
-
-
-
Method Detail
-
isInterrupted
public final boolean isInterrupted()
-
interrupt
public final void interrupt()
- Specified by:
interrupt
in interfaceInterruptable
-
onInterruptOperation
protected void onInterruptOperation()
-
registerSupOperation
public void registerSupOperation(@NotNull Interruptable oper)
-
unregisterSupOperation
public void unregisterSupOperation(@NotNull Interruptable oper)
-
checkInterrupted
public void checkInterrupted() throws UpdateSourcesInterruptedException
-
-