Class PreparedReferenceAction

java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.dev.reference.plugin.actions.PreparedReferenceAction
All Implemented Interfaces:
ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, Action, CommandDriven, IllegalArgumentAware, PrepareAction

public class PreparedReferenceAction extends JiraWebActionSupport implements PrepareAction
Sample Reference Action that prints out "Welcome to JIRA".
Since:
v4.3
See Also:
  • Constructor Details

    • PreparedReferenceAction

      public PreparedReferenceAction()
  • Method Details

    • doExecute

      protected String doExecute() throws Exception
      Overrides:
      doExecute in class ActionSupport
      Throws:
      Exception
    • getProductName

      public String getProductName()
    • prepare

      public void prepare() throws Exception
      Description copied from interface: PrepareAction
      This method is called to allow the action to prepare itself before receiving parameters through its set-methods.

      All *Aware interfaces are checked before this, so the action can rely on addition information to have been sent through the callbacks (e.g. the application session, or user session)

      Specified by:
      prepare in interface PrepareAction
      Throws:
      Exception - thrown if a system level exception occurs.
    • getPreparedMessage

      public String getPreparedMessage()