Class BuildPreferenceJobProperty

java.lang.Object
hudson.model.JobProperty<AbstractProject<?,?>>
jp.ikedam.jenkins.plugins.scoringloadbalancer.preferences.BuildPreferenceJobProperty
All Implemented Interfaces:
ExtensionPoint, Describable<JobProperty<?>>, ReconfigurableDescribable<JobProperty<?>>, BuildStep

public class BuildPreferenceJobProperty extends JobProperty<AbstractProject<?,?>>
Holds configuration that which nodes are preferred by a project.
  • Field Details

    • PROPERTYNAME

      public static final String PROPERTYNAME
      Property name used for job configuration page.
      See Also:
  • Constructor Details

    • BuildPreferenceJobProperty

      @DataBoundConstructor public BuildPreferenceJobProperty(List<BuildPreference> buildPreferenceList)
      Constructor. Initialized with values a user configured.
      Parameters:
      buildPreferenceList -
  • Method Details

    • getBuildPreferenceList

      public List<BuildPreference> getBuildPreferenceList()
      Returns the list of preferences. Each preferences holds configuration that which nodes are how preferred for this project.
      Returns:
      the list of preferences