Class ManagerProgress
- java.lang.Object
-
- org.jenkinsci.plugins.lucene.search.databackend.Progress
-
- org.jenkinsci.plugins.lucene.search.databackend.ManagerProgress
-
public class ManagerProgress extends Progress
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jenkinsci.plugins.lucene.search.databackend.Progress
Progress.ProgressState
-
-
Constructor Summary
Constructors Constructor Description ManagerProgress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assertNoErrors()
Progress
beginCleanJob()
Progress
beginJob(Job<?,?> project)
void
completedWithErrors(Exception e)
List<Progress>
getHistory()
long
getProcessedItems()
String
getReasonsAsString()
void
jobComplete()
void
setProcessedItems(long processedItems)
-
Methods inherited from class org.jenkinsci.plugins.lucene.search.databackend.Progress
getCurrent, getElapsedTime, getMax, getName, getReason, getReasonMessage, getState, incCurrent, isFinished, setCurrent, setElapsedTime, setFinished, setMax, setName, setReasonMessage, setSuccessfullyCompleted, withReason
-
-
-
-
Method Detail
-
jobComplete
public void jobComplete()
-
assertNoErrors
public void assertNoErrors() throws Exception
- Overrides:
assertNoErrors
in classProgress
- Throws:
Exception
-
getReasonsAsString
public String getReasonsAsString()
-
completedWithErrors
public void completedWithErrors(Exception e)
- Overrides:
completedWithErrors
in classProgress
-
beginCleanJob
public Progress beginCleanJob()
-
getProcessedItems
public long getProcessedItems()
-
setProcessedItems
public void setProcessedItems(long processedItems)
-
-