|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.serverSide.maintenance.ProgressInfo
public class ProgressInfo
Progress information. Provides information about how much part of work has already done.
Value object.
| Constructor Summary | |
|---|---|
ProgressInfo(long done,
long estimated,
java.lang.String phase)
Trivial constructor. |
|
| Method Summary | |
|---|---|
long |
getDone()
Returns how many conditional units of work have already done. |
java.lang.String |
getDoneHumanized()
|
long |
getEstimated()
Returns the work estimation in conditional units. |
java.lang.String |
getEstimatedHumanized()
|
int |
getPercent()
Retursn an amount of completed work in percent, that is equivalent to getDone() / getEstimated() * 100%. |
java.lang.String |
getPhase()
Returns the current work phase as a human readable phrase. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProgressInfo(long done,
long estimated,
java.lang.String phase)
done - see getDone().estimated - see getEstimated().phase - see getPhase().| Method Detail |
|---|
public long getDone()
getPercent()public java.lang.String getDoneHumanized()
public long getEstimated()
public java.lang.String getEstimatedHumanized()
public java.lang.String getPhase()
public int getPercent()
getDone() / getEstimated() * 100%.
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||