Package org.jdeferred2.multiple
Class OneProgress<P>
- java.lang.Object
-
- org.jdeferred2.multiple.MasterProgress
-
- org.jdeferred2.multiple.OneProgress<P>
-
- All Implemented Interfaces:
OneValue<P>
public class OneProgress<P> extends MasterProgress implements OneValue<P>
Progress update by one of thePromise
.
-
-
Constructor Summary
Constructors Constructor Description OneProgress(int done, int fail, int total, int index, Promise<?,?,P> promise, P progress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
P
getProgress()
Promise<?,?,P>
getPromise()
P
getValue()
java.lang.String
toString()
-
Methods inherited from class org.jdeferred2.multiple.MasterProgress
getDone, getFail, getTotal
-
-
-
-
Method Detail
-
getProgress
public P getProgress()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classMasterProgress
-
-