Package | Description |
---|---|
com.atlassian.jira.task.context |
Modifier and Type | Method and Description |
---|---|
static Context.Builder |
Contexts.builder()
Returns a new
Context.Builder for constructing a background task Context . |
Context.Builder |
Context.Builder.event(com.atlassian.johnson.event.Event event)
A global
atlassian-johnson event that will be used to block access to the application. |
Context.Builder |
Context.Builder.log(org.apache.log4j.Logger log,
String format)
A convenience method that calls assumes
DEBUG logging. |
Context.Builder |
Context.Builder.log(org.apache.log4j.Logger log,
String format,
org.apache.log4j.Level level)
Provides a logger to which progress will be logged at the specified level.
|
Context.Builder |
Context.Builder.progress(TaskProgressSink progressSink,
I18nHelper i18n,
String uiMessageKeyPercentage,
String uiMessageKeyCurrent)
Uses the specified
TaskProgressSink , using the provided I18nHelper to supply translated
messages about the task. |
Context.Builder |
Context.Builder.progressPercentage(TaskProgressSink progressSink,
I18nHelper i18n,
String uiMessageKeyPercentage)
Uses the specified
TaskProgressSink , using the provided I18nHelper to supply translated
messages about the task. |
Context.Builder |
Context.Builder.progressSubTask(TaskProgressSink progressSink,
I18nHelper i18n,
String uiMessageKeyCurrent)
Uses the specified
TaskProgressSink , using the provided I18nHelper to supply translated
messages about the task. |
Context.Builder |
Context.Builder.sized(Sized sized)
Something that can provide an estimate of the amount of work that the background task will perform.
|
Copyright © 2002-2019 Atlassian. All Rights Reserved.