public class JobStatus
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
canBeCancelled |
protected boolean |
cancelled |
protected int |
updateProgress |
Constructor and Description |
---|
JobStatus() |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeCancelled() |
int |
getUpdateProgress() |
boolean |
isCanBeCancelled() |
boolean |
isCancelled() |
void |
reset() |
void |
setCanbeCancelled(boolean canBeCancelled) |
void |
setCanBeCancelled(boolean canBeCancelled) |
void |
setCancelled(boolean isCancelled) |
void |
setIsCancelled(boolean cancelled) |
void |
setUpdateProgress(int updateProgress) |
protected boolean cancelled
protected transient int updateProgress
protected boolean canBeCancelled
public void reset()
public boolean isCancelled()
public void setIsCancelled(boolean cancelled)
public boolean canBeCancelled()
public void setCanbeCancelled(boolean canBeCancelled)
public int getUpdateProgress()
public void setUpdateProgress(int updateProgress)
public boolean isCanBeCancelled()
public void setCanBeCancelled(boolean canBeCancelled)
public void setCancelled(boolean isCancelled)