public class ScalingTaskProgessSink extends Object implements TaskProgressSink
NULL_SINK| Constructor and Description |
|---|
ScalingTaskProgessSink(long actualStart,
long actualEnd,
long virtualStart,
long virtualEnd,
TaskProgressSink delegateSink)
Create the sink with the specified virtual and actual progress ranges.
|
ScalingTaskProgessSink(long actualStart,
long actualEnd,
TaskProgressSink delegateSink)
Create the sink with the specified actual range.
|
| Modifier and Type | Method and Description |
|---|---|
void |
makeProgress(long taskProgress,
String currentSubTask,
String message)
This method can be called to indicate that progress is being made by a task.
|
public ScalingTaskProgessSink(long actualStart,
long actualEnd,
long virtualStart,
long virtualEnd,
TaskProgressSink delegateSink)
actualStart - the start of the actual range inclusive.actualEnd - the end of the actual range inclusive.virtualStart - the start of the virtual range inclusive.virtualEnd - the end of the virtual range inclusive.delegateSink - the sink to actually report progress on.public ScalingTaskProgessSink(long actualStart,
long actualEnd,
TaskProgressSink delegateSink)
actualStart - the start of the actual range inclusive.actualEnd - the end of the actual range inclusive.delegateSink - the sink to actually report progress on.public void makeProgress(long taskProgress,
String currentSubTask,
String message)
makeProgress in interface TaskProgressSinktaskProgress - the current "virtual progress" for the task.currentSubTask - the name of the current sub task or null if there isnt onemessage - an optional message about the progress or nullCopyright © 2002-2017 Atlassian. All Rights Reserved.