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

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.admin.ViewPlugins
All Implemented Interfaces:
ErrorCollection, I18nHelper, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class ViewPlugins
extends JiraWebActionSupport

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewPlugins(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.plugin.PluginController pluginController, ReindexMessageManager reindexMessageManager)
           
 
Method Summary
 String doDefault()
           
protected  String doExecute()
           
 String getErrorText(com.atlassian.plugin.Plugin plugin)
           
protected  String getI18nText(String key, String fallBackValue)
           
 String getInstallationMode(com.atlassian.plugin.Plugin plugin)
           
 String getModuleKey()
           
 String getPluginDesc(com.atlassian.plugin.Plugin plugin)
           
 String getPluginKey()
           
 String getPluginName(com.atlassian.plugin.Plugin plugin)
           
 Collection<com.atlassian.plugin.Plugin> getPlugins()
           
 com.atlassian.plugin.Plugin getSelectedPlugin()
           
 boolean isModuleEnabled(com.atlassian.plugin.ModuleDescriptor<?> module)
           
 boolean isPluginEnabled(com.atlassian.plugin.Plugin plugin)
           
 boolean isPluginUnloadable(com.atlassian.plugin.Plugin plugin)
           
 boolean isUnrecognisedModule(com.atlassian.plugin.ModuleDescriptor<?> module)
           
 void setMode(String mode)
           
 void setModuleKey(String moduleKey)
           
 void setPluginKey(String pluginKey)
           
 
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, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isSystemAdministrator, 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, getText, getText, getText0, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, 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
 

Constructor Detail

ViewPlugins

public ViewPlugins(com.atlassian.plugin.PluginAccessor pluginAccessor,
                   com.atlassian.plugin.PluginController pluginController,
                   ReindexMessageManager reindexMessageManager)
Method Detail

doDefault

public String doDefault()
                 throws Exception
Overrides:
doDefault in class webwork.action.ActionSupport
Throws:
Exception

doExecute

protected String doExecute()
                    throws Exception
Overrides:
doExecute in class webwork.action.ActionSupport
Throws:
Exception

getPlugins

public Collection<com.atlassian.plugin.Plugin> getPlugins()

isPluginEnabled

public boolean isPluginEnabled(com.atlassian.plugin.Plugin plugin)

isPluginUnloadable

public boolean isPluginUnloadable(com.atlassian.plugin.Plugin plugin)

getErrorText

public String getErrorText(com.atlassian.plugin.Plugin plugin)

isModuleEnabled

public boolean isModuleEnabled(com.atlassian.plugin.ModuleDescriptor<?> module)

isUnrecognisedModule

public boolean isUnrecognisedModule(com.atlassian.plugin.ModuleDescriptor<?> module)

getSelectedPlugin

public com.atlassian.plugin.Plugin getSelectedPlugin()

getPluginName

public String getPluginName(com.atlassian.plugin.Plugin plugin)

getInstallationMode

public String getInstallationMode(com.atlassian.plugin.Plugin plugin)

getPluginDesc

public String getPluginDesc(com.atlassian.plugin.Plugin plugin)

getPluginKey

public String getPluginKey()

setPluginKey

public void setPluginKey(String pluginKey)

getModuleKey

public String getModuleKey()

setModuleKey

public void setModuleKey(String moduleKey)

setMode

public void setMode(String mode)

getI18nText

protected String getI18nText(String key,
                             String fallBackValue)


Copyright © 2002-2009 Atlassian. All Rights Reserved.