Package com.atlassian.jira.task
Class LoggingProgressSink
java.lang.Object
com.atlassian.jira.task.LoggingProgressSink
- All Implemented Interfaces:
TaskProgressSink
A task progress sink that will log progress updates to the logger passed in.
- Since:
- v4.4
-
Field Summary
Fields inherited from interface com.atlassian.jira.task.TaskProgressSink
NULL_SINK -
Constructor Summary
ConstructorsConstructorDescriptionLoggingProgressSink(org.apache.log4j.Logger logger, String message, int increment) -
Method Summary
Modifier and TypeMethodDescriptionvoidmakeProgress(long taskProgress, String currentSubTask, String msg) This method can be called to indicate that progress is being made by a task.
-
Constructor Details
-
LoggingProgressSink
-
-
Method Details
-
makeProgress
Description copied from interface:TaskProgressSinkThis method can be called to indicate that progress is being made by a task.- Specified by:
makeProgressin interfaceTaskProgressSink- Parameters:
taskProgress- an amount that indicates what progress has been made.currentSubTask- the name of the current sub task ornullif there isn't onemsg- an optional message about the progress; otherwisenull
-