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
Holds configuration that which nodes are preferred by a project.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringProperty name used for job configuration page.Fields inherited from class hudson.model.JobProperty
ownerFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionBuildPreferenceJobProperty(List<BuildPreference> buildPreferenceList) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of preferences.Methods inherited from class hudson.model.JobProperty
getDescriptor, getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, reconfigure, setOwner
-
Field Details
-
PROPERTYNAME
Property name used for job configuration page.- See Also:
-
-
Constructor Details
-
BuildPreferenceJobProperty
Constructor. Initialized with values a user configured.- Parameters:
buildPreferenceList-
-
-
Method Details
-
getBuildPreferenceList
Returns the list of preferences. Each preferences holds configuration that which nodes are how preferred for this project.- Returns:
- the list of preferences
-