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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BuildPreferenceJobProperty.DescriptorImpl
Manages views forBuildPreferenceJobProperty
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTYNAME
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
Constructors Constructor Description BuildPreferenceJobProperty(List<BuildPreference> buildPreferenceList)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BuildPreference>
getBuildPreferenceList()
Returns the list of preferences.-
Methods inherited from class hudson.model.JobProperty
getDescriptor, getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, setOwner
-
-
-
-
Field Detail
-
PROPERTYNAME
public static final String PROPERTYNAME
Property name used for job configuration page.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BuildPreferenceJobProperty
@DataBoundConstructor public BuildPreferenceJobProperty(List<BuildPreference> buildPreferenceList)
Constructor. Initialized with values a user configured.- Parameters:
buildPreferenceList
-
-
-
Method Detail
-
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
-
-