public class ProgressMessage extends java.lang.Object implements IProgressMessage
ILifecycleProgressMonitor
.Constructor and Description |
---|
ProgressMessage() |
ProgressMessage(java.lang.String taskName,
int totalOperations,
int currentOperation,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentOperation()
Get index of current operation.
|
java.lang.String |
getMessage()
Get message shown for current operation.
|
java.lang.String |
getTaskName()
Get name of overall task being monitored.
|
int |
getTotalOperations()
Get count of all operations to be performed.
|
void |
setCurrentOperation(int currentOperation) |
void |
setMessage(java.lang.String message) |
void |
setTaskName(java.lang.String taskName) |
void |
setTotalOperations(int totalOperations) |
public ProgressMessage()
public ProgressMessage(java.lang.String taskName, int totalOperations, int currentOperation, java.lang.String message)
public java.lang.String getTaskName()
IProgressMessage
getTaskName
in interface IProgressMessage
public void setTaskName(java.lang.String taskName)
public int getTotalOperations()
IProgressMessage
getTotalOperations
in interface IProgressMessage
public void setTotalOperations(int totalOperations)
public int getCurrentOperation()
IProgressMessage
getCurrentOperation
in interface IProgressMessage
public void setCurrentOperation(int currentOperation)
public java.lang.String getMessage()
IProgressMessage
getMessage
in interface IProgressMessage
public void setMessage(java.lang.String message)