Class AddNewIssueTypeToScheme

java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.admin.issuetypes.AddNewIssueTypeToScheme
All Implemented Interfaces:
ErrorCollection, I18nHelper, AddIssueTypeAction, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class AddNewIssueTypeToScheme extends JiraWebActionSupport implements AddIssueTypeAction
Will add a new issue type and then redirect the user back to the modify issue type scheme page.
Since:
v5.0.1
See Also:
  • Constructor Details

  • Method Details

    • getIconurl

      public String getIconurl()
      Description copied from interface: AddIssueTypeAction
      Get the Icon URL for the issue type.
      Specified by:
      getIconurl in interface AddIssueTypeAction
      Returns:
      the icon URL for the issue type.
    • setIconurl

      public void setIconurl(String iconUrl)
      Description copied from interface: AddIssueTypeAction
      Set the Icon URL for the issue type.
      Specified by:
      setIconurl in interface AddIssueTypeAction
      Parameters:
      iconUrl - the icon URL for the issue type.
    • getStyle

      public String getStyle()
      Description copied from interface: AddIssueTypeAction
      Get the style (i.e. subtask) of the issue type.
      Specified by:
      getStyle in interface AddIssueTypeAction
      Returns:
      the style of the issue type.
    • setStyle

      public void setStyle(String style)
      Description copied from interface: AddIssueTypeAction
      Set the style (i.e. subtask) of the issue type.
      Specified by:
      setStyle in interface AddIssueTypeAction
      Parameters:
      style - the style (i.e. subtask) of the issue type.
    • getSubmitUrl

      public String getSubmitUrl()
      Description copied from interface: AddIssueTypeAction
      Return the URL used for form submission.
      Specified by:
      getSubmitUrl in interface AddIssueTypeAction
      Returns:
      the URL for form submission.
    • getCancelUrl

      public String getCancelUrl()
      Description copied from interface: AddIssueTypeAction
      The URL used for cancelling the form.
      Specified by:
      getCancelUrl in interface AddIssueTypeAction
      Returns:
      the URL for cancel URL.
    • getName

      public String getName()
      Description copied from interface: AddIssueTypeAction
      Get the name of the issue type.
      Specified by:
      getName in interface AddIssueTypeAction
      Returns:
      the name of the issue type.
    • setName

      public void setName(String name)
      Description copied from interface: AddIssueTypeAction
      Set the name of the issue type.
      Specified by:
      setName in interface AddIssueTypeAction
      Parameters:
      name - the name of the issue type.
    • getDescription

      public String getDescription()
      Description copied from interface: AddIssueTypeAction
      Get the description of the issue type.
      Specified by:
      getDescription in interface AddIssueTypeAction
      Returns:
      the description of the issue type.
    • setDescription

      public void setDescription(String description)
      Description copied from interface: AddIssueTypeAction
      Set the description of the issue type.
      Specified by:
      setDescription in interface AddIssueTypeAction
      Parameters:
      description - the description of the issue type.
    • getFieldId

      public String getFieldId()
    • setFieldId

      public void setFieldId(String fieldId)
    • getSchemeId

      public Long getSchemeId()
    • setSchemeId

      public void setSchemeId(Long schemeId)
    • getDefaultOption

      public String getDefaultOption()
    • setDefaultOption

      public void setDefaultOption(String defaultOption)
    • getSelectedOptions

      public String[] getSelectedOptions()
    • setSelectedOptions

      public void setSelectedOptions(String[] selectedOptions)
    • getSchemeName

      public String getSchemeName()
    • setSchemeName

      public void setSchemeName(String schemeName)
    • getSchemeDescription

      public String getSchemeDescription()
    • setSchemeDescription

      public void setSchemeDescription(String schemeDescription)
    • getProjectId

      public Long getProjectId()
    • setProjectId

      public void setProjectId(Long projectId)
    • getNewIssueType

      public IssueConstantOption getNewIssueType()
    • getHiddenFields

      public List<Pair<String,Object>> getHiddenFields()
      Description copied from interface: AddIssueTypeAction
      Return a list of {name, value} pairs to be added to the form as hidden fields.
      Specified by:
      getHiddenFields in interface AddIssueTypeAction
      Returns:
      the list of {name, value} pairs.
    • getManageableOption

      public ManageableOptionType getManageableOption()
      Specified by:
      getManageableOption in interface AddIssueTypeAction
    • getAllOptions

      public Collection<IssueConstantOption> getAllOptions()
    • doInput

      public String doInput()
    • doValidation

      protected void doValidation()
      Overrides:
      doValidation in class webwork.action.ActionSupport
    • doExecute

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