com.atlassian.jira.web.action.admin.index
Class ReIndexAsyncIndexerCommand

java.lang.Object
  extended by com.atlassian.jira.web.action.admin.index.ReIndexAsyncIndexerCommand
All Implemented Interfaces:
ProvidesTaskProgress, Callable<IndexCommandResult>

@Internal
public class ReIndexAsyncIndexerCommand
extends Object

Reindex is slightly different to Activate

Since:
v3.13

Constructor Summary
ReIndexAsyncIndexerCommand(com.atlassian.johnson.JohnsonEventContainer eventCont, IndexLifecycleManager indexManager, org.apache.log4j.Logger log, I18nHelper i18nHelper, I18nHelper.BeanFactory i18nBeanFactory)
           
 
Method Summary
 IndexCommandResult call()
           
 IndexCommandResult doReindex(Context context, IndexLifecycleManager indexManager)
           
 I18nHelper getI18nHelper()
           
 org.apache.log4j.Logger getLog()
           
 void setTaskProgressSink(TaskProgressSink taskProgressSink)
          This is called to set in a TaskProgressSink that can be used to send task progress information to
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReIndexAsyncIndexerCommand

public ReIndexAsyncIndexerCommand(com.atlassian.johnson.JohnsonEventContainer eventCont,
                                  IndexLifecycleManager indexManager,
                                  org.apache.log4j.Logger log,
                                  I18nHelper i18nHelper,
                                  I18nHelper.BeanFactory i18nBeanFactory)
Method Detail

doReindex

public IndexCommandResult doReindex(Context context,
                                    IndexLifecycleManager indexManager)

call

public IndexCommandResult call()
Specified by:
call in interface Callable<IndexCommandResult>

getLog

public org.apache.log4j.Logger getLog()

getI18nHelper

public I18nHelper getI18nHelper()

setTaskProgressSink

public void setTaskProgressSink(TaskProgressSink taskProgressSink)
Description copied from interface: ProvidesTaskProgress
This is called to set in a TaskProgressSink that can be used to send task progress information to

Specified by:
setTaskProgressSink in interface ProvidesTaskProgress
Parameters:
taskProgressSink - a TaskProgressSink that can be used to send task progress information to


Copyright © 2002-2014 Atlassian. All Rights Reserved.