Package com.atlassian.jira.task
Class JohnsonEventProgressSink
java.lang.Object
com.atlassian.jira.task.JohnsonEventProgressSink
- All Implemented Interfaces:
TaskProgressSink
A task progress sink that can update a Johnson
Event
with progress updates.- Since:
- v4.4
-
Field Summary
Fields inherited from interface com.atlassian.jira.task.TaskProgressSink
NULL_SINK
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
makeProgress
(long taskProgress, String currentSubTask, String message) This method can be called to indicate that progress is being made by a task.
-
Constructor Details
-
JohnsonEventProgressSink
public JohnsonEventProgressSink(com.atlassian.johnson.event.Event event)
-
-
Method Details
-
makeProgress
Description copied from interface:TaskProgressSink
This method can be called to indicate that progress is being made by a task.- Specified by:
makeProgress
in interfaceTaskProgressSink
- Parameters:
taskProgress
- an amount that indicates what progress has been made.currentSubTask
- the name of the current sub task ornull
if there isn't onemessage
- an optional message about the progress; otherwisenull
-