com.atlassian.jira.task
Interface TaskProgressSink
- All Known Implementing Classes:
- CompositeProgressSink, JohnsonEventProgressSink, LoggingProgressSink, ScalingTaskProgessSink, StatefulTaskProgressSink, StepTaskProgressSink, TimeBasedLogSink
public interface TaskProgressSink
Interface that can be used by tasks to indicate progress.
- Since:
- v3.13
Method Summary |
void |
makeProgress(long taskProgress,
String currentSubTask,
String message)
This method can be called to indicate that progress is being made by a task. |
NULL_SINK
static final TaskProgressSink NULL_SINK
- A simple sink that does nothing.
makeProgress
void makeProgress(long taskProgress,
String currentSubTask,
String message)
- This method can be called to indicate that progress is being made by a task.
- Parameters:
taskProgress
- an amount that indicates what progress has been made.currentSubTask
- the name of the current sub task or null if there isnt onemessage
- an optional message about the progress or null
Copyright © 2002-2012 Atlassian. All Rights Reserved.