Package org.apache.wiki.ui.progress
Class ProgressItem
java.lang.Object
org.apache.wiki.ui.progress.ProgressItem
Provides access to an progress item.
- Since:
- 2.6
-
Field Details
-
CREATED
Status: The PI is created.- See Also:
-
STARTED
Status: The PI is started.- See Also:
-
STOPPED
Status: The PI is stopped.- See Also:
-
FINISHED
Status: The PI is finished.- See Also:
-
m_state
-
-
Constructor Details
-
ProgressItem
public ProgressItem()
-
-
Method Details
-
getState
Get the state of the ProgressItem.- Returns:
- CREATED, STARTED, STOPPED or FINISHED.
-
setState
Sets the state of the ProgressItem.- Parameters:
state
- One of the CREATED, STARTED, STOPPED or FINISHED.
-
getProgress
Returns the progress in percents.- Returns:
- An integer 0-100.
-