public class JohnsonEventProgressSink extends Object implements TaskProgressSink
Event
with progress updates.NULL_SINK
Constructor and Description |
---|
JohnsonEventProgressSink(com.atlassian.johnson.event.Event event) |
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 JohnsonEventProgressSink(com.atlassian.johnson.event.Event event)
public void makeProgress(long taskProgress, String currentSubTask, String message)
TaskProgressSink
makeProgress
in interface TaskProgressSink
taskProgress
- an amount that indicates what progress has been made.currentSubTask
- the name of the current sub task or null
if there isn't onemessage
- an optional message about the progress; otherwise null
Copyright © 2002-2021 Atlassian. All Rights Reserved.