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

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.web.action.JiraWebActionSupport
              extended bycom.atlassian.jira.web.action.admin.ViewPlugins
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, ErrorCollection, I18nHelper, webwork.action.IllegalArgumentAware, Serializable

public class ViewPlugins
extends JiraWebActionSupport

See Also:
Serialized Form

Field Summary
(package private)  com.atlassian.plugin.PluginManager pluginManager
           
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, savedFilters, selectedProject
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface com.atlassian.jira.util.I18nHelper
DEFAULT_RESOURCE_BUNDLE
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewPlugins(com.atlassian.plugin.PluginManager pluginManager)
           
 
Method Summary
 String doDefault()
           
protected  String doExecute()
           
protected  I18nBean getI18nBean(com.atlassian.plugin.Plugin plugin)
           
protected  List getI18nLocations(com.atlassian.plugin.Plugin plugin)
           
protected  String getI18NText(String key, String fallBackValue, com.atlassian.plugin.Plugin plugin)
           
 String getModuleKey()
           
 String getPluginDesc(com.atlassian.plugin.Plugin plugin)
           
 String getPluginKey()
           
 String getPluginName(com.atlassian.plugin.Plugin plugin)
           
 Collection 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)
           
 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, getCalendarTranslationFilenameForLanguage, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSavedFilters, getSelectedProject, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, isHasCalendarTranslationForLanguage, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, 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, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, 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
 

Field Detail

pluginManager

com.atlassian.plugin.PluginManager pluginManager
Constructor Detail

ViewPlugins

public ViewPlugins(com.atlassian.plugin.PluginManager pluginManager)
Method Detail

doDefault

public String doDefault()
                 throws Exception
Throws:
Exception

doExecute

protected String doExecute()
                    throws Exception
Throws:
Exception

getPlugins

public Collection getPlugins()

isPluginEnabled

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

isPluginUnloadable

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

isModuleEnabled

public boolean isModuleEnabled(com.atlassian.plugin.ModuleDescriptor module)

getSelectedPlugin

public com.atlassian.plugin.Plugin getSelectedPlugin()

getPluginName

public String getPluginName(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,
                             com.atlassian.plugin.Plugin plugin)

getI18nLocations

protected List getI18nLocations(com.atlassian.plugin.Plugin plugin)

getI18nBean

protected I18nBean getI18nBean(com.atlassian.plugin.Plugin plugin)


Copyright © 2002-2006 Atlassian. All Rights Reserved.