public interface CleanupProcessState
Modifier and Type | Method and Description |
---|---|
int |
getBuildsToProcess() |
java.lang.String |
getCurrentStage() |
long |
getElapsedTime() |
InterruptReason |
getInterruptReason() |
SUser |
getInterruptUser() |
int |
getProcessedBuilds() |
java.util.Collection<java.lang.Long> |
getProcessedBuilds(CleanupLevel... cleanupLevels)
Returns ids of all builds processed on specified cleanup levels.
|
java.util.Set<java.lang.String> |
getRemovedBuildTypesIds() |
java.util.Set<java.lang.String> |
getRemovedProjectsIds() |
boolean |
isInProgress() |
boolean |
isInterrupted() |
@Nullable java.lang.String getCurrentStage()
boolean isInterrupted()
@Nullable InterruptReason getInterruptReason()
@Nullable SUser getInterruptUser()
int getProcessedBuilds()
int getBuildsToProcess()
long getElapsedTime()
boolean isInProgress()
@NotNull java.util.Collection<java.lang.Long> getProcessedBuilds(@NotNull CleanupLevel... cleanupLevels)
cleanupLevels
- cleanup levels@NotNull java.util.Set<java.lang.String> getRemovedProjectsIds()
@NotNull java.util.Set<java.lang.String> getRemovedBuildTypesIds()