|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.idm.util.progress.info.PercentInfo
public class PercentInfo
PercentInfo represents information about the percent of completion of operation. For example, it may report that curently 50.0% of total 100.0% of operation has been executed.
Field Summary | |
---|---|
static float |
TOTAL TOTAL has a value of 100.0F and indicates total percent. |
static float |
UNKNOWN UNKNOWN has a value of -1.0F and indicates unknown percent. |
Constructor Summary | |
---|---|
PercentInfo(float current) Creates PercentInfo. |
Method Summary | |
---|---|
java.lang.Object |
clone() Clones PercentInfo. |
float |
getCurrent() Getter for the current property. |
float |
getTotal() Getter for the total property. |
void |
setCurrent(float current) Setter for the current property. |
java.lang.String |
toString() Returns a string representation of PercentInfo. |
void |
xprint(XmlPrintWriter out) Prints percentInfo properties to the PrintWriter as an XML element. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final float UNKNOWN
public static final float TOTAL
Constructor Detail |
---|
public PercentInfo(float current)
current
- Current percent of operation executed so far.Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public float getCurrent()
public void setCurrent(float current)
current
- Current percent of operation executed so far.public float getTotal()
public void xprint(XmlPrintWriter out)
xprint
in interface XmlPrintable
out
- PrintWriter for printing percentInfo propeties.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 |