|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.idm.util.progress.info.StepInfo
public class StepInfo
StepsInfo represents information about the number of operation steps. For example, it may report that curently 100 of total 500 operation steps have been executed.
Field Summary | |
---|---|
static int |
UNKNOWN UNKNOWN has a value of -1 and indicates unknown number of steps. |
Constructor Summary | |
---|---|
StepInfo(int current) Creates StepsInfo. |
|
StepInfo(int current, int total) Creates StepsInfo. |
Method Summary | |
---|---|
java.lang.Object |
clone() Clones StepsInfo. |
int |
getCurrent() Getter for the current property. |
int |
getTotal() Getter for the total property. |
void |
setCurrent(int current) Setter for the current property. |
void |
setTotal(int total) Setter for the total property. |
java.lang.String |
toString() Returns a string representation of StepInfo. |
void |
xprint(XmlPrintWriter out) Prints stepInfo 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 int UNKNOWN
Constructor Detail |
---|
public StepInfo(int current, int total)
current
- Current number of operation steps executed so far.total
- Total number of operation steps expected to be executed.public StepInfo(int current)
current
- Current number of operation steps executed so far.Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public int getCurrent()
public void setCurrent(int current)
current
- Current number of operation steps executed so far.public int getTotal()
public void setTotal(int total)
total
- Total number of operation steps expected to be executed.public void xprint(XmlPrintWriter out)
xprint
in interface XmlPrintable
out
- PrintWriter for printing stepInfo 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 |