Modifier and Type | Method and Description |
---|---|
static Context.Builder |
builder()
Returns a new
Context.Builder for constructing a background task Context . |
static Context |
nullContext()
A context which ignores all progress reported to it and has no side-effects.
|
static Context |
percentageLogger(Sized sized,
org.apache.log4j.Logger logger,
String msg)
Deprecated.
Use
builder() instead. Since v6.4. |
static Context |
percentageLogger(Sized sized,
org.apache.log4j.Logger logger,
String msg,
org.apache.log4j.Level level)
Deprecated.
Use
builder() instead. Since v6.4. |
static Context |
percentageReporter(Sized sized,
TaskProgressSink sink,
I18nHelper i18n,
org.apache.log4j.Logger logger,
String msg)
Deprecated.
Since 6.3.6 use
percentageReporter(com.atlassian.jira.util.collect.Sized,
TaskProgressSink, I18nHelper, Logger, String,
String, String) for 6.3.6+ or builder() for 6.4+ |
static Context |
percentageReporter(Sized sized,
TaskProgressSink sink,
I18nHelper i18n,
org.apache.log4j.Logger logger,
String msg,
com.atlassian.johnson.event.Event event)
Deprecated.
|
static Context |
percentageReporter(Sized sized,
TaskProgressSink sink,
I18nHelper i18n,
org.apache.log4j.Logger logger,
String msg,
com.atlassian.johnson.event.Event event,
org.apache.log4j.Level level)
Deprecated.
Since 6.3.6 use
#percentageReporter(com.atlassian.jira.util.collect.Sized,
TaskProgressSink, I18nHelper, Logger, String,
String, String, com.atlassian.johnson.event.Event), Level in 6.3.6+ or builder() in 6.4+ |
static Context |
percentageReporter(Sized sized,
TaskProgressSink sink,
I18nHelper i18n,
org.apache.log4j.Logger logger,
String msg,
String uiMessageKeyPercentage,
String uiMessageKeyCurrent)
Deprecated.
Use
builder() instead. Since v6.4. |
static Context |
percentageReporter(Sized sized,
TaskProgressSink sink,
I18nHelper i18n,
org.apache.log4j.Logger logger,
String msg,
String uiMessageKeyPercentage,
String uiMessageKeyCurrent,
com.atlassian.johnson.event.Event event) |
static Context |
percentageReporter(Sized sized,
TaskProgressSink sink,
I18nHelper i18n,
org.apache.log4j.Logger logger,
String msg,
String uiMessageKeyPercentage,
String uiMessageKeyCurrent,
com.atlassian.johnson.event.Event event,
org.apache.log4j.Level level)
Deprecated.
Use
builder() instead. Since v6.4. |
static Context |
percentageReporter(Sized sized,
TaskProgressSink sink,
I18nHelper i18n,
org.apache.log4j.Logger logger,
String msg,
String uiMessageKeyPercentage,
String uiMessageKeyCurrent,
org.apache.log4j.Level level)
Deprecated.
Use
builder() instead. Since v6.4. |
public static Context nullContext()
@Deprecated public static Context percentageReporter(@Nonnull Sized sized, @Nonnull TaskProgressSink sink, @Nonnull I18nHelper i18n, @Nonnull org.apache.log4j.Logger logger, @Nonnull String msg)
percentageReporter(com.atlassian.jira.util.collect.Sized,
TaskProgressSink, I18nHelper, Logger, String,
String, String)
for 6.3.6+ or builder()
for 6.4+public static Context percentageReporter(@Nonnull Sized sized, @Nonnull TaskProgressSink sink, @Nonnull I18nHelper i18n, @Nonnull org.apache.log4j.Logger logger, @Nonnull String msg, @Nonnull String uiMessageKeyPercentage, String uiMessageKeyCurrent)
builder()
instead. Since v6.4.public static Context percentageReporter(@Nonnull Sized sized, @Nonnull TaskProgressSink sink, @Nonnull I18nHelper i18n, @Nonnull org.apache.log4j.Logger logger, @Nonnull String msg, @Nonnull String uiMessageKeyPercentage, String uiMessageKeyCurrent, @Nonnull org.apache.log4j.Level level)
builder()
instead. Since v6.4.@Deprecated public static Context percentageReporter(@Nonnull Sized sized, @Nonnull TaskProgressSink sink, @Nonnull I18nHelper i18n, @Nonnull org.apache.log4j.Logger logger, @Nonnull String msg, @Nonnull com.atlassian.johnson.event.Event event)
percentageReporter(com.atlassian.jira.util.collect.Sized,
TaskProgressSink, I18nHelper, Logger, String,
String, String, com.atlassian.johnson.event.Event)
in 6.3.6+ or builder()
in 6.4+@Deprecated public static Context percentageReporter(@Nonnull Sized sized, @Nonnull TaskProgressSink sink, @Nonnull I18nHelper i18n, @Nonnull org.apache.log4j.Logger logger, @Nonnull String msg, @Nonnull com.atlassian.johnson.event.Event event, org.apache.log4j.Level level)
#percentageReporter(com.atlassian.jira.util.collect.Sized,
TaskProgressSink, I18nHelper, Logger, String,
String, String, com.atlassian.johnson.event.Event), Level
in 6.3.6+ or builder()
in 6.4+public static Context percentageReporter(@Nonnull Sized sized, @Nonnull TaskProgressSink sink, @Nonnull I18nHelper i18n, @Nonnull org.apache.log4j.Logger logger, @Nonnull String msg, @Nonnull String uiMessageKeyPercentage, String uiMessageKeyCurrent, @Nonnull com.atlassian.johnson.event.Event event)
@Deprecated public static Context percentageReporter(@Nonnull Sized sized, @Nonnull TaskProgressSink sink, @Nonnull I18nHelper i18n, @Nonnull org.apache.log4j.Logger logger, @Nonnull String msg, @Nonnull String uiMessageKeyPercentage, String uiMessageKeyCurrent, @Nonnull com.atlassian.johnson.event.Event event, org.apache.log4j.Level level)
builder()
instead. Since v6.4.@Deprecated public static Context percentageLogger(@Nonnull Sized sized, @Nonnull org.apache.log4j.Logger logger, @Nonnull String msg)
builder()
instead. Since v6.4.@Deprecated public static Context percentageLogger(@Nonnull Sized sized, @Nonnull org.apache.log4j.Logger logger, @Nonnull String msg, org.apache.log4j.Level level)
builder()
instead. Since v6.4.public static Context.Builder builder()
Context.Builder
for constructing a background task Context
.Context.Builder
for constructing a background task Context
.Copyright © 2002-2017 Atlassian. All Rights Reserved.