Package 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
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidmakeProgress(long taskProgress, String currentSubTask, String message) This method can be called to indicate that progress is being made by a task.
-
Field Details
-
NULL_SINK
A simple sink that does nothing.
-
-
Method Details
-
makeProgress
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 ornullif there isn't onemessage- an optional message about the progress; otherwisenull
-