com.atlassian.jira.task
Interface TaskProgressSink

All Known Implementing Classes:
ScalingTaskProgessSink, StatefulTaskProgressSink, StepTaskProgressSink, TimeBasedLogSink

public interface TaskProgressSink

Interface that can be used by tasks to indicate progress.

Since:
v3.13

Field Summary
static TaskProgressSink NULL_SINK
          A simple sink that does nothing.
 
Method Summary
 void makeProgress(long taskProgress, java.lang.String currentSubTask, java.lang.String message)
          This method can be called to indicate that progress is being made by a task.
 

Field Detail

NULL_SINK

static final TaskProgressSink NULL_SINK
A simple sink that does nothing.

Method Detail

makeProgress

void makeProgress(long taskProgress,
                  java.lang.String currentSubTask,
                  java.lang.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


Copyright © 2002-2011 Atlassian. All Rights Reserved.