public abstract class ProgressItem extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CREATED
Status: The PI is created.
|
static int |
FINISHED
Status: The PI is finished.
|
protected int |
m_state |
static int |
STARTED
Status: The PI is started.
|
static int |
STOPPED
Status: The PI is stopped.
|
Constructor and Description |
---|
ProgressItem() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getProgress()
Returns the progress in percents.
|
int |
getState()
Get the state of the ProgressItem.
|
void |
setState(int state)
Sets the state of the ProgressItem.
|
public static final int CREATED
public static final int STARTED
public static final int STOPPED
public static final int FINISHED
protected int m_state
public ProgressItem()
public int getState()
public void setState(int state)
state
- One of the CREATED, STARTED, STOPPED or FINISHED.public abstract int getProgress()
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.