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
log
Constructor and Description |
---|
IndexAdminImpl(IndexLifecycleManager indexLifecycleManager,
GlobalPermissionManager globalPermissionManager,
TaskManager taskManager,
JiraAuthenticationContext authenticationContext,
OutlookDateManager outlookDateManager,
IndexPathManager indexPathManager,
FileFactory fileFactory)
Deprecated.
|
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) |
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, 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
@Deprecated public IndexAdminImpl(IndexLifecycleManager indexLifecycleManager, GlobalPermissionManager globalPermissionManager, TaskManager taskManager, JiraAuthenticationContext authenticationContext, OutlookDateManager outlookDateManager, IndexPathManager indexPathManager, FileFactory fileFactory)
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 String getIndexPathOption()
public void setIndexPathOption(String indexPathOption)
public String getDefaultIndexPath()
public boolean getShowCustom()
public String getIndexPath()
getIndexPath
in interface IndexAdmin
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> getOurTask()
public TaskDescriptorBean<IndexCommandResult> getCurrentTask()
public String getIndexingStrategy()
public void setIndexingStrategy(String indexingStrategy)
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()
Copyright © 2002-2017 Atlassian. All Rights Reserved.