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 classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Property name used for job configuration page.Fields inherited from class hudson.model.JobProperty
owner
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
ConstructorDescriptionBuildPreferenceJobProperty
(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, 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
-