public class

IndexAdminImpl

extends ProjectActionSupport
implements IndexAdmin
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ com.atlassian.jira.action.JiraActionSupport
       ↳ com.atlassian.jira.web.action.JiraWebActionSupport
         ↳ com.atlassian.jira.web.action.ProjectActionSupport
           ↳ com.atlassian.jira.web.action.admin.index.IndexAdminImpl

Summary

[Expand]
Inherited Constants
From class com.atlassian.jira.web.action.JiraWebActionSupport
From interface webwork.action.Action
[Expand]
Inherited Fields
From class com.atlassian.jira.web.action.ProjectActionSupport
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
Public Constructors
@Deprecated IndexAdminImpl(IndexLifecycleManager indexLifecycleManager, GlobalPermissionManager globalPermissionManager, TaskManager taskManager, JiraAuthenticationContext authenticationContext, OutlookDateManager outlookDateManager, IndexPathManager indexPathManager, FileFactory fileFactory)
This constructor added for backwards-compatibility.
IndexAdminImpl(ProjectManager projectManager, PermissionManager permissionManager, IndexLifecycleManager indexLifecycleManager, GlobalPermissionManager globalPermissionManager, TaskManager taskManager, JiraAuthenticationContext authenticationContext, TaskDescriptorBean.Factory factory, IndexPathManager indexPathManager, FileFactory fileFactory, IndexRecoveryService indexRecoveryService, ClusterManager clusterManager, JiraHome jiraHome, I18nHelper.BeanFactory i18nBeanFactory, JohnsonProvider johnsonProvider)
Public Methods
String doActivate()
String doCancel()
String doCopy()
String doProgress()
String doRecover()
String doReindex()
String getCannotReindexInForegroundMessage()
String getCopyFromNodeId()
String getCurrentNodeId()
TaskDescriptorBean<IndexCommandResult> getCurrentTask()
String getDefaultIndexPath()
Returns the absolute path for the Default Index directory ([jira-home]/caches/index/) This is used for read-only info added to the "Use Default Directory" option.
String getDestinationURL()
String getIndexPath()
String getIndexPathOption()
String getIndexingStrategy()
Collection<Node> getNodeList()
TaskDescriptorBean<IndexCommandResult> getOurTask()
String getPrettyCron(String cronExpression)
String getRecoveryFilePath()
String getRecoveryFilename()
long getReindexTime()
boolean getShowCustom()
String getSnapshotCronExpression()
String getSnapshotDirectory()
Long getTaskId()
boolean isAnyLiveTasks()
boolean isClustered()
boolean isCopyRequested()
boolean isHasSystemAdminPermission()
boolean isIndexConsistent()
boolean isTaskInProgress()
boolean recoveryEnabled()
void setCopyFromNodeId(String copyFromNodeId)
void setIndexPathOption(String indexPathOption)
void setIndexingStrategy(String indexingStrategy)
void setRecoveryFilename(String recoveryFilename)
void setReindexTime(long reindexTime)
void setTaskId(Long taskId)
Protected Methods
String doExecute()
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.ProjectActionSupport
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
From class java.lang.Object
From interface com.atlassian.jira.util.ErrorCollection
From interface com.atlassian.jira.util.I18nHelper
From interface com.atlassian.jira.web.HttpServletVariables
From interface com.atlassian.jira.web.action.admin.index.IndexAdmin
From interface com.atlassian.jira.web.util.AuthorizationSupport
From interface webwork.action.Action
From interface webwork.action.CommandDriven
From interface webwork.action.IllegalArgumentAware

Public Constructors

@Deprecated public IndexAdminImpl (IndexLifecycleManager indexLifecycleManager, GlobalPermissionManager globalPermissionManager, TaskManager taskManager, JiraAuthenticationContext authenticationContext, OutlookDateManager outlookDateManager, IndexPathManager indexPathManager, FileFactory fileFactory)

This constructor added for backwards-compatibility.

public IndexAdminImpl (ProjectManager projectManager, PermissionManager permissionManager, IndexLifecycleManager indexLifecycleManager, GlobalPermissionManager globalPermissionManager, TaskManager taskManager, JiraAuthenticationContext authenticationContext, TaskDescriptorBean.Factory factory, IndexPathManager indexPathManager, FileFactory fileFactory, IndexRecoveryService indexRecoveryService, ClusterManager clusterManager, JiraHome jiraHome, I18nHelper.BeanFactory i18nBeanFactory, JohnsonProvider johnsonProvider)

Public Methods

public String doActivate ()

Throws
Exception

public String doCancel ()

public String doCopy ()

Throws
Exception

public String doProgress ()

public String doRecover ()

Throws
Exception

public String doReindex ()

Throws
Exception

public String getCannotReindexInForegroundMessage ()

public String getCopyFromNodeId ()

public String getCurrentNodeId ()

public TaskDescriptorBean<IndexCommandResult> getCurrentTask ()

public String getDefaultIndexPath ()

Returns the absolute path for the Default Index directory ([jira-home]/caches/index/) This is used for read-only info added to the "Use Default Directory" option.

Returns
  • the absolute path for the Default Index directory ([jira-home]/caches/index/)

public String getDestinationURL ()

public String getIndexPath ()

public String getIndexPathOption ()

public String getIndexingStrategy ()

public Collection<Node> getNodeList ()

public TaskDescriptorBean<IndexCommandResult> getOurTask ()

public String getPrettyCron (String cronExpression)

public String getRecoveryFilePath ()

public String getRecoveryFilename ()

public long getReindexTime ()

public boolean getShowCustom ()

public String getSnapshotCronExpression ()

public String getSnapshotDirectory ()

public Long getTaskId ()

public boolean isAnyLiveTasks ()

public boolean isClustered ()

public boolean isCopyRequested ()

public boolean isHasSystemAdminPermission ()

public boolean isIndexConsistent ()

public boolean isTaskInProgress ()

public boolean recoveryEnabled ()

public void setCopyFromNodeId (String copyFromNodeId)

public void setIndexPathOption (String indexPathOption)

public void setIndexingStrategy (String indexingStrategy)

public void setRecoveryFilename (String recoveryFilename)

public void setReindexTime (long reindexTime)

public void setTaskId (Long taskId)

Protected Methods

protected String doExecute ()

Throws
Exception