public class IndexAdminImpl extends ProjectActionSupport implements IndexAdmin
JiraWebActionSupport.MessageType
I18nHelper.BeanFactory
ErrorCollection.Reason
projectManager
ISSUE_NOT_FOUND_RESULT, log, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
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, addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, addMessageToResponse, addReason, addReasons, checkIfUrlIsAllowed, execute, forceRedirect, getActionName, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getComponentInstanceOfType, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDefaultResourceBundle, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getI18nHelper, getJiraContactHelper, getJiraServiceContext, getKeysForPrefix, getLanguage, getLocale, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOfBizDelegator, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getResourceBundle, getResult, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTimeFormat, getUnescapedText, getUntransformedRawText, getUriValidator, getUserFullName, getUserManager, getUserPreferences, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasAnyErrors, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isAdministrator, isIndexing, isInlineDialogMode, isKeyDefined, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, removeKeyOrAddError, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
addError, addErrorMessage, 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, 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 doDefault() throws Exception
doDefault
in class webwork.action.ActionSupport
Exception
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-2024 Atlassian. All Rights Reserved.