Modifier and Type | Method and Description |
---|---|
DataImportService.ImportResult |
DefaultDataImportService.doImport(ApplicationUser loggedInUser,
DataImportService.ImportValidationResult result,
TaskProgressSink taskProgressSink) |
DataImportService.ImportResult |
DataImportService.doImport(ApplicationUser loggedInUser,
DataImportService.ImportValidationResult result,
TaskProgressSink taskProgressSink)
Performs the actual import given a valid validation result.
|
ServiceOutcome<Void> |
ExportService.export(ApplicationUser loggedInUser,
String filename,
ExportService.Style style,
TaskProgressSink taskProgressSink)
Export JIRA to the given filename with the specified backup style.
|
ServiceOutcome<Void> |
DefaultExportService.export(ApplicationUser loggedInUser,
String filename,
ExportService.Style style,
TaskProgressSink taskProgressSink) |
ServiceOutcome<Void> |
ExportService.export(ApplicationUser loggedInUser,
String filename,
TaskProgressSink taskProgressSink)
Export JIRA to the given filename.
|
ServiceOutcome<Void> |
DefaultExportService.export(ApplicationUser loggedInUser,
String filename,
TaskProgressSink taskProgressSink) |
ServiceOutcome<Void> |
ExportService.exportForDevelopment(ApplicationUser loggedInUser,
String xmlFilename,
TaskProgressSink taskProgressSink)
Export JIRA to the given filename.
|
ServiceOutcome<Void> |
DefaultExportService.exportForDevelopment(ApplicationUser loggedInUser,
String xmlFilename,
TaskProgressSink taskProgressSink) |
void |
OfbizImportHandler.setTaskProgressSink(TaskProgressSink taskProgressSink) |
Modifier and Type | Method and Description |
---|---|
BackupOverview |
DefaultProjectImportService.getBackupOverview(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
TaskProgressSink taskProgressSink) |
BackupOverview |
ProjectImportService.getBackupOverview(JiraServiceContext jiraServiceContext,
ProjectImportOptions projectImportOptions,
TaskProgressSink taskProgressSink)
Returns a BackupOverview object containing the overview of information from the backup file if the backup files
build number and edition match those of the running instance of JIRA.
|
Modifier and Type | Method and Description |
---|---|
void |
CloneIssueCommand.setTaskProgressSink(TaskProgressSink taskProgressSink) |
Modifier and Type | Method and Description |
---|---|
void |
DeleteProjectCommand.setTaskProgressSink(TaskProgressSink taskProgressSink) |
Modifier and Type | Method and Description |
---|---|
BackupOverview |
DefaultProjectImportManager.getBackupOverview(String pathToBackupXml,
TaskProgressSink taskProgressSink,
I18nHelper i18n) |
BackupOverview |
ProjectImportManager.getBackupOverview(String pathToBackupXml,
TaskProgressSink taskProgressSink,
I18nHelper i18n)
Parses through the provided JIRA XML backup file and creates a BackupOverview.
|
Modifier and Type | Method and Description |
---|---|
TaskProgressSink |
TaskProgressInterval.getTaskProgressSink()
Returns the TaskProgressSink that this interval is to be used for.
|
Constructor and Description |
---|
EntityTypeTaskProgressProcessor(int numEntityTypes,
TaskProgressSink taskProgressSink,
I18nHelper i18n) |
TaskProgressInterval(TaskProgressSink taskProgressSink,
int startPercent,
int endPercent) |
Modifier and Type | Method and Description |
---|---|
IndexRecoveryResult |
DefaultIndexRecoveryManager.deindexEntitiesDeletedInTheLast(java.time.Duration duration,
TaskProgressSink taskProgressSink) |
IndexRecoveryResult |
IndexRecoveryManager.deindexEntitiesDeletedInTheLast(java.time.Duration duration,
TaskProgressSink taskProgressSink)
Applies de-index based on the versioning table (delete column.*
Why this method may be needed?
It is possible in Jira (both server and DC) that a late "update" will override a "delete".
|
IndexCommandResult |
DefaultIndexRecoveryService.recoverIndexFromBackup(ApplicationUser user,
Context context,
I18nHelper i18n,
String recoveryFilename,
TaskProgressSink taskProgressSink) |
IndexCommandResult |
IndexRecoveryService.recoverIndexFromBackup(ApplicationUser user,
Context context,
I18nHelper i18n,
String recoveryFilename,
TaskProgressSink taskProgressSink)
Recovers an index from an index backup
|
IndexCommandResult |
DefaultIndexRecoveryManager.recoverIndexFromBackup(File recoveryFile,
TaskProgressSink taskProgressSink) |
IndexCommandResult |
IndexRecoveryManager.recoverIndexFromBackup(File recoveryFile,
TaskProgressSink taskProgressSink)
Recovers an index from an index backup.
|
IndexRecoveryResult |
DefaultIndexRecoveryManager.reindexWithVersionCheckEntitiesUpdatedInTheLast(java.time.Duration duration,
TaskProgressSink taskProgressSink) |
IndexRecoveryResult |
IndexRecoveryManager.reindexWithVersionCheckEntitiesUpdatedInTheLast(java.time.Duration duration,
TaskProgressSink taskProgressSink)
This method uses versioning to short-circuit building documents when the index version is
already up-to-date with what's in the db.
|
IndexCommandResult |
DefaultIndexRecoveryManager.safeRecoverIndexFromBackup(File recoveryFile,
TaskProgressSink taskProgressSink) |
IndexCommandResult |
IndexRecoveryManager.safeRecoverIndexFromBackup(File recoveryFile,
TaskProgressSink taskProgressSink)
Recovers an index from an index backup.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Long> |
PrioritySchemeMigrator.migrate(PrioritySchemeMapping mapping,
ApplicationUser user,
TaskProgressSink progressSink) |
ServiceOutcome<Long> |
PrioritySchemeMigrator.migrateSingleProject(Project project,
FieldConfigScheme newPriorityScheme,
Map<Priority,Priority> mapping,
ApplicationUser user,
TaskProgressSink progressSink) |
Modifier and Type | Method and Description |
---|---|
void |
AssignIssueSecuritySchemeCommand.setTaskProgressSink(TaskProgressSink taskProgressSink) |
Modifier and Type | Class and Description |
---|---|
class |
CompositeProgressSink
A task progress sink that is made up of several other task progress sinks.
|
class |
JohnsonEventProgressSink
A task progress sink that can update a Johnson
Event with progress updates. |
class |
LoggingProgressSink
A task progress sink that will log progress updates to the logger passed in.
|
class |
ScalingTaskProgessSink
Takes the "virtual progress" made and scales it into an "actual progress" for the contained sink.
|
class |
StatefulTaskProgressSink
A simple
TaskProgressSink thats keeps track of progress. |
class |
StepTaskProgressSink
Sink that divides a range a progress range into a number of steps.
|
class |
TimeBasedLogSink
This TaskProgressSink will output progress to the Logger if either the percentage progress changes or its been more than
n milliseconds since the last log entry.
|
Modifier and Type | Field and Description |
---|---|
static TaskProgressSink |
TaskProgressSink.NULL_SINK
A simple sink that does nothing.
|
Modifier and Type | Method and Description |
---|---|
static Collection<StatefulTaskProgressSink> |
StatefulTaskProgressSink.createPercentageSinksForRange(long startRange,
long endRange,
int numberOfDivisions,
TaskProgressSink sink)
Return a collection of sinks that allows progress to be reported across the specified ragnge.
|
void |
ProvidesTaskProgress.setTaskProgressSink(TaskProgressSink taskProgressSink)
This is called to set in a TaskProgressSink that can be used to send task progress information to
|
Constructor and Description |
---|
CompositeProgressSink(TaskProgressSink... delegates) |
ProgressMonitoringFileInputStream(InputStream in,
TaskProgressSink taskProgressSink,
String subTask,
String message) |
ScalingTaskProgessSink(long actualStart,
long actualEnd,
long virtualStart,
long virtualEnd,
TaskProgressSink delegateSink)
Create the sink with the specified virtual and actual progress ranges.
|
ScalingTaskProgessSink(long actualStart,
long actualEnd,
TaskProgressSink delegateSink)
Create the sink with the specified actual range.
|
StatefulTaskProgressSink(long minProgress,
long maxProgress,
long currentProgress,
TaskProgressSink delegateSink)
Create the sink.
|
StatefulTaskProgressSink(long minProgress,
long maxProgress,
TaskProgressSink delegateSink)
Create the sink.
|
StepTaskProgressSink(long startProgress,
long endProgress,
long actions,
TaskProgressSink sink)
Create the Sink with the passed parameters.
|
TimeBasedLogSink(org.apache.log4j.Logger log,
String description,
long maxTimeBetweenEvents,
TaskProgressSink delegateSink) |
Modifier and Type | Method and Description |
---|---|
static Context |
Contexts.percentageReporter(Sized sized,
TaskProgressSink sink,
I18nHelper i18n,
org.apache.log4j.Logger logger,
String msg)
Deprecated.
Since 6.3.6 use
Contexts.percentageReporter(com.atlassian.jira.util.collect.Sized,
TaskProgressSink, I18nHelper, Logger, String,
String, String) for 6.3.6+ or Contexts.builder() for 6.4+ |
static Context |
Contexts.percentageReporter(Sized sized,
TaskProgressSink sink,
I18nHelper i18n,
org.apache.log4j.Logger logger,
String msg,
com.atlassian.johnson.event.Event event)
Deprecated.
|
static Context |
Contexts.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 Contexts.builder() in 6.4+ |
static Context |
Contexts.percentageReporter(Sized sized,
TaskProgressSink sink,
I18nHelper i18n,
org.apache.log4j.Logger logger,
String msg,
String uiMessageKeyPercentage,
String uiMessageKeyCurrent)
Deprecated.
Use
Contexts.builder() instead. Since v6.4. |
static Context |
Contexts.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 |
Contexts.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
Contexts.builder() instead. Since v6.4. |
static Context |
Contexts.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
Contexts.builder() instead. Since v6.4. |
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. |
Modifier and Type | Method and Description |
---|---|
static Context |
Contexts.percentageReporter(Sized sized,
TaskProgressSink sink,
I18nHelper i18n,
org.apache.log4j.Logger logger) |
static Context |
Contexts.percentageReporter(Sized sized,
TaskProgressSink sink,
I18nHelper i18n,
org.apache.log4j.Logger logger,
com.atlassian.johnson.event.Event event) |
Modifier and Type | Method and Description |
---|---|
void |
IndexRecoveryCommand.setTaskProgressSink(TaskProgressSink taskProgressSink) |
Modifier and Type | Method and Description |
---|---|
void |
MigratePrioritySchemeAction.MigrateSchemeTask.setTaskProgressSink(TaskProgressSink taskProgressSink) |
Modifier and Type | Method and Description |
---|---|
void |
BulkOperationProgress.BulkEditCallable.setTaskProgressSink(TaskProgressSink taskProgressSink) |
Modifier and Type | Method and Description |
---|---|
void |
DataImportAsyncCommand.setTaskProgressSink(TaskProgressSink taskProgressSink) |
Modifier and Type | Method and Description |
---|---|
WorkflowMigrationResult |
WorkflowSchemeMigrationHelper.migrate(TaskProgressSink sink) |
WorkflowMigrationResult |
AssignableWorkflowSchemeMigrationHelper.migrate(TaskProgressSink sink) |
WorkflowMigrationResult |
DraftWorkflowSchemeMigrationHelper.migrate(TaskProgressSink sink) |
Copyright © 2002-2023 Atlassian. All Rights Reserved.