public class ProgressStatus
extends java.lang.Object
| Constructor and Description |
|---|
ProgressStatus(ProgressState progressState,
ProgressInfo progressInfo)
Initializes a new
ProgressStatus object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares this object with another
ProgressStatus object. |
ProgressInfo |
getProgressInfo() |
ProgressState |
getProgressState() |
int |
hashCode()
Calculates a hash code for the current state of this
ProgressStatus. |
void |
setProgressInfo(ProgressInfo progressInfo)
Sets the
ProgressInfo for this object. |
void |
setProgressState(ProgressState progressState)
Sets the
ProgressState of this object. |
java.lang.String |
toString()
Creates a string representation of this object.
|
public ProgressStatus(ProgressState progressState, ProgressInfo progressInfo)
ProgressStatus object.progressState - The ProgressState.progressInfo - The ProgressInfo.public ProgressState getProgressState()
public void setProgressState(ProgressState progressState)
ProgressState of this object.public ProgressInfo getProgressInfo()
public void setProgressInfo(ProgressInfo progressInfo)
ProgressInfo for this object.progressInfo - The progressInfo to set.public java.lang.String toString()
toString in class java.lang.ObjectProgressState and ProgressInfo.public int hashCode()
ProgressStatus.
The hash code will change if the values of ProgressState and ProgressInfo change.
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
ProgressStatus object.equals in class java.lang.Objecttrue if the objects are equal. Otherwise, false.