com.atlassian.jira.task
Class CompositeProgressSink

java.lang.Object
  extended by com.atlassian.jira.task.CompositeProgressSink
All Implemented Interfaces:
TaskProgressSink

public class CompositeProgressSink
extends Object
implements TaskProgressSink

A task progress sink that is made up of several other task progress sinks.

It can be used to log progress against several sinks simultaneously.

Since:
v4.4

Field Summary
 
Fields inherited from interface com.atlassian.jira.task.TaskProgressSink
NULL_SINK
 
Constructor Summary
CompositeProgressSink(TaskProgressSink... delegates)
           
 
Method Summary
 void makeProgress(long taskProgress, String currentSubTask, String message)
          This method can be called to indicate that progress is being made by a task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeProgressSink

public CompositeProgressSink(TaskProgressSink... delegates)
Method Detail

makeProgress

public void makeProgress(long taskProgress,
                         String currentSubTask,
                         String message)
Description copied from interface: TaskProgressSink
This method can be called to indicate that progress is being made by a task.

Specified by:
makeProgress in interface TaskProgressSink
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-2012 Atlassian. All Rights Reserved.