|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.core.node.workflow.NodeProgress
public final class NodeProgress
Contained in a NodeProgressEvent
which is fired when the progress
information has changed, either the progress (value between 0 and 1 or
null
), or the progress message (could also be
null
).
Constructor Summary | |
---|---|
NodeProgress(Double progress,
String message)
Create a progress event based on progress value and message. |
Method Summary | |
---|---|
String |
getMessage()
Current progress message or null . |
Double |
getProgress()
Current progress value or null. |
boolean |
hasMessage()
If the progress message has changed (more correctly is not null ). |
boolean |
hasProgress()
If the progress value has changed (more correctly is not null ). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeProgress(Double progress, String message)
null
.
progress
- The progress value or null
.message
- The progress message or null
.Method Detail |
---|
public boolean hasProgress()
null
).
true
if the progress value is not
null
.public Double getProgress()
null
.public String getMessage()
null
.
null
.public boolean hasMessage()
null
).
true
if the progress message is not
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |