exceptionProperty, messageProperty, progressProperty, runningProperty, stateProperty, titleProperty, totalWorkProperty, valueProperty, workDonePropertyWorker.State| Modifier and Type | Method and Description |
|---|---|
boolean |
checkProgressRatio(double newWorkDone,
double totalWork,
double amountThreshold)
Check if the task has enough progressed according to the given threshold.
|
String |
getServiceHandlerName()
Return the full service handler name.
|
void |
taskAchieved()
The task has been terminated because the source wave was consumed or has failed.
|
cancel, exceptionProperty, getException, getMessage, getProgress, getState, getTitle, getTotalWork, getValue, getWorkDone, isRunning, messageProperty, progressProperty, runningProperty, stateProperty, titleProperty, totalWorkProperty, valueProperty, workDonePropertyString getServiceHandlerName()
void taskAchieved()
boolean checkProgressRatio(double newWorkDone,
double totalWork,
double amountThreshold)
newWorkDone - the amount of work donetotalWork - the total amount of workamountThreshold - the minimum threshold amount to return true; range is [0.0 - 100.0] (typically 1.0 for 1%)Copyright © 2011–2015 JRebirth OSS. All rights reserved.