Class ProgressContext.Bar
-
- All Implemented Interfaces:
public class ProgressContext.Bar
-
-
Constructor Summary
Constructors Constructor Description ProgressContext.Bar(String key, long started)
-
Method Summary
Modifier and Type Method Description StringgetKey()longgetStarted()longgetStopped()intgetPercent()voidsetPercent(int percent)set current progress percent, from 0 to 100 ObjectgetResult()ObjectgetAttach()voidsetAttach(Object attach)set attachment to the bar ThrowablegetError()booleanisDone()voidfail(Throwable error)voidok(Object result)booleanequals(Object o)inthashCode()StringtoString()-
-
Constructor Detail
-
ProgressContext.Bar
ProgressContext.Bar(String key, long started)
-
-
Method Detail
-
getStarted
long getStarted()
-
getStopped
long getStopped()
-
getPercent
int getPercent()
-
setPercent
void setPercent(int percent)
set current progress percent, from 0 to 100
-
isDone
boolean isDone()
-
hashCode
int hashCode()
-
-
-
-