public class

JohnsonEventProgressSink

extends Object
implements TaskProgressSink
java.lang.Object
   ↳ com.atlassian.jira.task.JohnsonEventProgressSink

Class Overview

A task progress sink that can update a Johnson Event with progress updates.

Summary

[Expand]
Inherited Fields
From interface com.atlassian.jira.task.TaskProgressSink
Public Constructors
JohnsonEventProgressSink(Event event)
Public Methods
void makeProgress(long taskProgress, String currentSubTask, String message)
This method can be called to indicate that progress is being made by a task.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.task.TaskProgressSink

Public Constructors

public JohnsonEventProgressSink (Event event)

Public Methods

public 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 one
message an optional message about the progress or null