Class JiraProjectProperty

java.lang.Object
hudson.model.JobProperty<Job<?,?>>
hudson.plugins.jira.JiraProjectProperty
All Implemented Interfaces:
ExtensionPoint, Describable<JobProperty<?>>, ReconfigurableDescribable<JobProperty<?>>, BuildStep

public class JiraProjectProperty extends JobProperty<Job<?,?>>
Associates Job with JiraSite.
Author:
Kohsuke Kawaguchi
  • Field Details

    • siteName

      public final String siteName
      Used to find JiraSite. Matches JiraSite.getName(). Always non-null (but beware that this value might become stale if the system config is changed.)
  • Constructor Details

    • JiraProjectProperty

      @DataBoundConstructor public JiraProjectProperty(String siteName)
  • Method Details

    • getSite

      @Nullable public JiraSite getSite()
      Gets the JiraSite that this project belongs to.
      Returns:
      null if the configuration becomes out of sync.