com.atlassian.jira.web.action.admin.index
Class IndexAdminImpl
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
- 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
Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInline, isPathsAllowedToBetSet, isSystemAdministrator, isUserExists, returnComplete, returnComplete, setInline, setReturnUrl, setSelectedProjectId |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText0, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError |
Methods inherited from class webwork.action.ActionSupport |
addError, addErrorMessage, doDefault, doValidation, getCommandName, 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 webwork.action.CommandDriven |
getCommandName, setCommand |
JIRA_IS_BEING_REINDEXED
public static final String JIRA_IS_BEING_REINDEXED
- See Also:
- Constant Field Values
IndexAdminImpl
public IndexAdminImpl(IndexLifecycleManager indexLifecycleManager,
GlobalPermissionManager globalPermissionManager,
TaskManager taskManager,
JiraAuthenticationContext authenticationContext,
OutlookDateManager outlookDateManager,
IndexPathManager indexPathManager)
getIndexPathOption
public String getIndexPathOption()
setIndexPathOption
public void setIndexPathOption(String indexPathOption)
getDefaultIndexPath
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/)
getIndexPath
public String getIndexPath()
- Specified by:
getIndexPath
in interface IndexAdmin
setIndexPath
public void setIndexPath(String indexPath)
doExecute
public String doExecute()
throws Exception
- Overrides:
doExecute
in class webwork.action.ActionSupport
- 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
doProgress
public String doProgress()
throws ExecutionException,
InterruptedException
- Throws:
ExecutionException
InterruptedException
getReindexTime
public long getReindexTime()
- Specified by:
getReindexTime
in interface IndexAdmin
setReindexTime
public void setReindexTime(long reindexTime)
isAnyLiveTasks
public boolean isAnyLiveTasks()
isHasSystemAdminPermission
public boolean isHasSystemAdminPermission()
getTaskId
public Long getTaskId()
setTaskId
public void setTaskId(Long taskId)
getOurTask
public TaskDescriptorBean<IndexCommandResult> getOurTask()
getCurrentTask
public TaskDescriptorBean<IndexCommandResult> getCurrentTask()
getDestinationURL
public String getDestinationURL()
Copyright © 2002-2010 Atlassian. All Rights Reserved.