public class PollerData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private double |
currentProgress
The current progress.
|
private boolean |
isComplete
The is complete.
|
private boolean |
isError
The is error.
|
private boolean |
isStuckProgress
The is stuck progress.
|
private java.lang.String |
jobId
The job id.
|
private java.lang.String |
metadata
The metadata.
|
private java.util.Map<java.lang.String,java.lang.String> |
pollingHistoryMap
The polling history map.
|
private boolean |
uuidHasBeenSet
The uuid has been set.
|
Constructor and Description |
---|
PollerData()
Instantiates a new poller data.
|
Modifier and Type | Method and Description |
---|---|
double |
getCurrentProgress()
Gets the current progress.
|
java.lang.String |
getJobId()
Gets the job id.
|
java.lang.String |
getMetadata()
Gets the metadata.
|
java.util.Map<java.lang.String,java.lang.String> |
getPollingHistoryMap()
Gets the polling history map.
|
boolean |
isComplete()
Checks if is complete.
|
boolean |
isError()
Checks if is error.
|
boolean |
isStuckProgress()
Checks if is stuck progress.
|
boolean |
isUuidHasBeenSet()
Checks if is uuid has been set.
|
void |
setComplete(boolean isComplete)
Sets the complete.
|
void |
setCurrentProgress(double currentProgress)
Sets the current progress.
|
void |
setError(boolean isError)
Sets the error.
|
void |
setJobIdAndMarkHasBeenSet(java.lang.String uuid)
also mark as set.
|
void |
setMetadata(java.lang.String metadata)
Sets the metadata.
|
void |
setStuckProgress(boolean isStuckProgress)
Sets the stuck progress.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid.
|
void |
setUuidHasBeenSet(boolean uuidHasBeenSet)
Sets the uuid has been set.
|
java.lang.String |
toString() |
private double currentProgress
private boolean isError
private boolean isComplete
private boolean isStuckProgress
private java.lang.String jobId
private boolean uuidHasBeenSet
private java.lang.String metadata
private final java.util.Map<java.lang.String,java.lang.String> pollingHistoryMap
public double getCurrentProgress()
public void setCurrentProgress(double currentProgress)
currentProgress
- the new current progresspublic boolean isError()
public void setError(boolean isError)
isError
- the new errorpublic boolean isComplete()
public void setComplete(boolean isComplete)
isComplete
- the new completepublic boolean isStuckProgress()
public void setStuckProgress(boolean isStuckProgress)
isStuckProgress
- the new stuck progresspublic java.lang.String getJobId()
public void setJobIdAndMarkHasBeenSet(java.lang.String uuid)
uuid
- the new job id and mark has been setpublic java.lang.String getMetadata()
public void setMetadata(java.lang.String metadata)
metadata
- the new metadatapublic boolean isUuidHasBeenSet()
public void setUuidHasBeenSet(boolean uuidHasBeenSet)
uuidHasBeenSet
- the new uuid has been setpublic void setUuid(java.lang.String uuid)
uuid
- the new uuidpublic java.util.Map<java.lang.String,java.lang.String> getPollingHistoryMap()
public java.lang.String toString()
toString
in class java.lang.Object