com.atlassian.jira.web.action.admin
Class IndexAdminImpl

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.ProjectActionSupport
                  extended by com.atlassian.jira.web.action.admin.IndexAdminImpl
All Implemented Interfaces:
ErrorCollection, I18nHelper, IndexAdmin, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class IndexAdminImpl
extends ProjectActionSupport
implements IndexAdmin

See Also:
Serialized Form

Field Summary
static String JIRA_IS_BEING_REINDEXED
           
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
projectManager
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, savedFilters, selectedProject
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface com.atlassian.jira.util.I18nHelper
DEFAULT_RESOURCE_BUNDLE
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
IndexAdminImpl(IssueIndexManager indexManager)
           
 
Method Summary
 String doActivate()
           
 String doDeactivate()
           
 String doReindex()
           
 String getIndexPath()
           
 String getNewIndexPath()
           
 long getReindexTime()
           
 void setIndexPath(String path)
           
 void setNewIndexPath(String newPath)
           
 void setReindexTime(long reindexTime)
           
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSelectedProjectId, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getCalendarTranslationFilenameForLanguage, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSavedFilters, getSelectedProject, getServerId, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, isHasCalendarTranslationForLanguage, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isUserExists, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doDefault, doExecute, doValidation, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

JIRA_IS_BEING_REINDEXED

public static final String JIRA_IS_BEING_REINDEXED
See Also:
Constant Field Values
Constructor Detail

IndexAdminImpl

public IndexAdminImpl(IssueIndexManager indexManager)
Method Detail

getIndexPath

public String getIndexPath()
Specified by:
getIndexPath in interface IndexAdmin

setIndexPath

public void setIndexPath(String path)
Specified by:
setIndexPath in interface IndexAdmin

getNewIndexPath

public String getNewIndexPath()
Specified by:
getNewIndexPath in interface IndexAdmin

setNewIndexPath

public void setNewIndexPath(String newPath)
Specified by:
setNewIndexPath in interface IndexAdmin

doDeactivate

public String doDeactivate()
                    throws Exception
Specified by:
doDeactivate in interface IndexAdmin
Throws:
Exception

doActivate

public String doActivate()
                  throws Exception
Specified by:
doActivate in interface IndexAdmin
Throws:
Exception

doReindex

public String doReindex()
                 throws Exception
Specified by:
doReindex in interface IndexAdmin
Throws:
Exception

getReindexTime

public long getReindexTime()
Specified by:
getReindexTime in interface IndexAdmin

setReindexTime

public void setReindexTime(long reindexTime)


Copyright © 2002-2007 Atlassian. All Rights Reserved.