@Deprecated public abstract class WorkRequest extends java.lang.Object implements java.lang.Runnable, ProgressObserver
Task
Constructor and Description |
---|
WorkRequest()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
setAbortable(boolean abortable)
Deprecated.
Sets if the request can be aborted.
|
void |
setMaximum(long value)
Deprecated.
Update the maximum value.
|
void |
setProgressMaximum(int value)
Deprecated.
use
setMaximum(long) |
void |
setProgressValue(int value)
Deprecated.
use
setValue(long) |
void |
setStatus(java.lang.String status)
Deprecated.
Sets the status text.
|
void |
setValue(long value)
Deprecated.
Update the progress value.
|
public void setAbortable(boolean abortable)
public void setStatus(java.lang.String status)
setStatus
in interface ProgressObserver
status
- The status text@Deprecated public void setProgressValue(int value)
setValue(long)
value
- The progress value.@Deprecated public void setProgressMaximum(int value)
setMaximum(long)
value
- The progress value.public void setValue(long value)
setValue
in interface ProgressObserver
value
- the new valuepublic void setMaximum(long value)
setMaximum
in interface ProgressObserver
value
- the new maximum value