java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.admin.issuefields.configuration.schemes.AddFieldConfigurationScheme
All Implemented Interfaces:
ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class AddFieldConfigurationScheme extends JiraWebActionSupport
Responsible for rendering the user interface to add a new field configuration scheme to a JIRA instance.
Since:
v5.0.1
See Also:
  • Constructor Details

    • AddFieldConfigurationScheme

      public AddFieldConfigurationScheme(FieldLayoutManager fieldLayoutManager)
  • Method Details

    • doDefault

      public String doDefault() throws Exception
      Renders the dialog to input the values for a new field configuration scheme.
      Overrides:
      doDefault in class webwork.action.ActionSupport
      Returns:
      Action.INPUT
      Throws:
      Exception
    • doExecute

      protected String doExecute() throws Exception
      Handles the request to create a new field configuration scheme as submitted from the dialog.

      On success, we redirect to the view field configurations schemes page.

      On error, we return the user to the dialog.

      Overrides:
      doExecute in class webwork.action.ActionSupport
      Returns:
      redirect to ViewSchemes on sucess, Action.ERROR if there are validation errors.
      Throws:
      Exception
    • getFieldLayoutSchemeName

      public String getFieldLayoutSchemeName()
    • setFieldLayoutSchemeName

      public void setFieldLayoutSchemeName(String fieldLayoutSchemeName)
    • getFieldLayoutSchemeDescription

      public String getFieldLayoutSchemeDescription()
    • setFieldLayoutSchemeDescription

      public void setFieldLayoutSchemeDescription(String fieldLayoutSchemeDescription)