public class PollerData extends Object
| Constructor and Description |
|---|
PollerData()
Instantiates a new poller data.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCurrentProgress()
Gets the current progress.
|
String |
getJobId()
Gets the job id.
|
String |
getMetadata()
Gets the metadata.
|
Map<String,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(String uuid)
also mark as set.
|
void |
setMetadata(String metadata)
Sets the metadata.
|
void |
setStuckProgress(boolean isStuckProgress)
Sets the stuck progress.
|
void |
setUuid(String uuid)
Sets the uuid.
|
void |
setUuidHasBeenSet(boolean uuidHasBeenSet)
Sets the uuid has been set.
|
String |
toString() |
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 String getJobId()
public void setJobIdAndMarkHasBeenSet(String uuid)
uuid - the new job id and mark has been setpublic String getMetadata()
public void setMetadata(String metadata)
metadata - the new metadatapublic boolean isUuidHasBeenSet()
public void setUuidHasBeenSet(boolean uuidHasBeenSet)
uuidHasBeenSet - the new uuid has been setpublic void setUuid(String uuid)
uuid - the new uuidpublic Map<String,String> getPollingHistoryMap()
Copyright © 2015–2017 eBay. All rights reserved.