Class CreateCustomField

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

public class CreateCustomField extends JiraWizardActionSupport
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • doDefault

      public String doDefault() throws Exception
      Overrides:
      doDefault in class webwork.action.ActionSupport
      Throws:
      Exception
    • doExecute

      protected String doExecute() throws Exception
      Overrides:
      doExecute in class JiraWizardActionSupport
      Throws:
      Exception
    • doCustomFieldType

      public String doCustomFieldType() throws Exception
      Throws:
      Exception
    • doAddDetails

      public String doAddDetails() throws Exception
      Throws:
      Exception
    • getFieldTypes

      public Collection<CustomFieldType<?,?>> getFieldTypes()
    • getSearchers

      public List getSearchers()
    • getDescriptionProperty

      public RenderableProperty getDescriptionProperty()
    • getCustomFieldType

      public CustomFieldType getCustomFieldType()
    • getAllProjects

      public Collection<Project> getAllProjects() throws Exception
      Throws:
      Exception
    • getAllIssueTypes

      public Collection getAllIssueTypes() throws Exception
      Throws:
      Exception
    • getFieldName

      public String getFieldName()
    • setFieldName

      public void setFieldName(String fieldName)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getFieldType

      public String getFieldType()
    • isFieldTypeValid

      public boolean isFieldTypeValid()
      Returns true if the current field type is not null and valid. This is used as a safety precaution against XSS. See JRA-21173.
      Returns:
      true if the current field type is not null and valid.
    • setFieldType

      public void setFieldType(String fieldType)
    • getSearcher

      public String getSearcher()
    • setSearcher

      public void setSearcher(String searcher)
    • getProjects

      public Long[] getProjects()
    • setProjects

      public void setProjects(Long[] projects)
    • getIssuetypes

      public String[] getIssuetypes()
    • setIssuetypes

      public void setIssuetypes(String[] issuetypes)
    • getGlobalContextOption

      public Map<String,String> getGlobalContextOption()
    • isGlobal

      public boolean isGlobal()
    • setGlobal

      public void setGlobal(boolean global)
    • isBasicMode

      public boolean isBasicMode()
    • setBasicMode

      public void setBasicMode(boolean basicMode)
    • getProjectCategories

      public Long[] getProjectCategories()
    • setProjectCategories

      public void setProjectCategories(Long[] projectCategories)
    • getTotalSteps

      public int getTotalSteps()
      Specified by:
      getTotalSteps in class JiraWizardActionSupport
    • getDisplayMarketplaceLink

      public boolean getDisplayMarketplaceLink()