public class IndexAdminImpl extends ProjectActionSupport implements IndexAdmin
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
projectManager
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
log
Constructor and Description |
---|
IndexAdminImpl(ProjectManager projectManager,
PermissionManager permissionManager,
IndexLifecycleManager indexLifecycleManager,
GlobalPermissionManager globalPermissionManager,
TaskManager taskManager,
JiraAuthenticationContext authenticationContext,
TaskDescriptorBean.Factory factory,
IndexPathManager indexPathManager,
FileFactory fileFactory,
IndexRecoveryService indexRecoveryService,
ClusterManager clusterManager,
FileStores fileStores,
I18nHelper.BeanFactory i18nBeanFactory,
JohnsonProvider johnsonProvider,
HelpUrls helpUrls) |
getBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isAdministrator, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
addError, addErrorMessage, doDefault, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
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, FileStores fileStores, I18nHelper.BeanFactory i18nBeanFactory, JohnsonProvider johnsonProvider, HelpUrls helpUrls)
public String getIndexPath()
getIndexPath
in interface IndexAdmin
public String getNodeId()
protected String doExecute() throws Exception
doExecute
in class webwork.action.ActionSupport
Exception
public String doActivate() throws Exception
doActivate
in interface IndexAdmin
Exception
public String doReindex() throws Exception
doReindex
in interface IndexAdmin
Exception
public String doProgress() throws ExecutionException, InterruptedException
public String doCancel() throws ExecutionException, InterruptedException
public long getReindexTime()
getReindexTime
in interface IndexAdmin
public void setReindexTime(long reindexTime)
public boolean isAnyLiveTasks()
public boolean isHasSystemAdminPermission()
public Long getTaskId()
public void setTaskId(Long taskId)
public TaskDescriptorBean<IndexCommandResult> getCurrentIndexTask()
public TaskDescriptorBean<IndexCommandResult> getCurrentTask()
public boolean isIndexConsistent()
public String getDestinationURL()
public boolean isTaskInProgress()
public String getCannotReindexInForegroundMessage()
public String getRecoveryFilename()
public void setRecoveryFilename(String recoveryFilename)
public String getRecoveryFilePath()
public String getSnapshotCronExpression()
public String getSnapshotDirectory()
public boolean recoveryEnabled()
public String getCopyFromNodeId()
public void setCopyFromNodeId(String copyFromNodeId)
public Collection<Node> getNodeList()
public boolean isClustered()
public String getCurrentNodeId()
public boolean isCopyRequested()
public boolean isTaskOnSameNode()
public boolean isCurrentIndexTaskZombie()
public String doAbortZombieTask() throws ExecutionException, InterruptedException
public String getZombieTaskDocsLink()
public String getSearchIndexingDocsLink()
Copyright © 2002-2022 Atlassian. All Rights Reserved.