Class ActionNamesAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
org.apache.struts2.config_browser.ActionNamesAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable
Direct Known Subclasses:
ShowBeansAction, ShowConfigAction, ShowConstantsAction, ShowJarsAction

public class ActionNamesAction extends com.opensymphony.xwork2.ActionSupport
ActionNamesAction
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from class com.opensymphony.xwork2.ActionSupport

    container

    Fields inherited from interface com.opensymphony.xwork2.Action

    ERROR, INPUT, LOGIN, NONE, SUCCESS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    com.opensymphony.xwork2.config.entities.ActionConfig
    getConfig(String actionName)
     
     
     
     
    Index action to support cooperation with REST plugin
     
    void
     
    void
     
    void
    setNamespace(String namespace)
     

    Methods inherited from class com.opensymphony.xwork2.ActionSupport

    addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getLocaleProvider, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ActionNamesAction

      public ActionNamesAction()
  • Method Details

    • setConfigurationHelper

      public void setConfigurationHelper(ConfigurationHelper cfg)
    • getActionNames

      public Set<String> getActionNames()
    • getNamespace

      public String getNamespace()
    • setNamespace

      public void setNamespace(String namespace)
    • setExtension

      public void setExtension(String ext)
    • getConfig

      public com.opensymphony.xwork2.config.entities.ActionConfig getConfig(String actionName)
    • getNamespaces

      public Set<String> getNamespaces()
    • getExtension

      public String getExtension()
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class com.opensymphony.xwork2.ActionSupport
      Throws:
      Exception
    • index

      public String index() throws Exception
      Index action to support cooperation with REST plugin
      Returns:
      action result
      Throws:
      Exception
    • redirect

      public String redirect()