Class BuildPreferenceNodeProperty

java.lang.Object
hudson.slaves.NodeProperty<Node>
jp.ikedam.jenkins.plugins.scoringloadbalancer.preferences.BuildPreferenceNodeProperty
All Implemented Interfaces:
ExtensionPoint, Describable<NodeProperty<?>>, ReconfigurableDescribable<NodeProperty<?>>

public class BuildPreferenceNodeProperty extends NodeProperty<Node>
Holds configuration that how this node is preferred.
  • Constructor Details

    • BuildPreferenceNodeProperty

      @DataBoundConstructor public BuildPreferenceNodeProperty(int preference)
      Constructor. Initialized with values a user configured.
      Parameters:
      preference -
  • Method Details

    • getPreference

      public int getPreference()
      Returns how this node is preferred. Larger value is more preferred.
      Returns:
      the preference