Package jenkins.advancedqueue
Class PrioritySorterConfiguration
- java.lang.Object
-
- hudson.model.Descriptor<GlobalConfiguration>
-
- jenkins.model.GlobalConfiguration
-
- jenkins.advancedqueue.PrioritySorterConfiguration
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalConfiguration>
,Saveable
,Loadable
,OnMaster
@Extension public class PrioritySorterConfiguration extends GlobalConfiguration
- Since:
- 2.0
- Author:
- Magnus Sandberg
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description PrioritySorterConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckNumberOfPriorities(String value)
ListBoxModel
doFillStrategyItems()
ListBoxModel
doGetPriorityItems()
static PrioritySorterConfiguration
get()
boolean
getOnlyAdminsMayEditPriorityConfiguration()
SorterStrategy
getStrategy()
static void
init()
void
setOnlyAdminsMayEditPriorityConfiguration(boolean onlyAdminsMayEditPriorityConfiguration)
void
setStrategy(SorterStrategy strategy)
-
Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, getDescriptor, getGlobalConfigPage
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
init
public static void init()
-
getOnlyAdminsMayEditPriorityConfiguration
public boolean getOnlyAdminsMayEditPriorityConfiguration()
-
getStrategy
public SorterStrategy getStrategy()
-
doFillStrategyItems
public ListBoxModel doFillStrategyItems()
-
doGetPriorityItems
public ListBoxModel doGetPriorityItems()
-
doCheckNumberOfPriorities
public FormValidation doCheckNumberOfPriorities(@QueryParameter String value)
-
setOnlyAdminsMayEditPriorityConfiguration
@DataBoundSetter public void setOnlyAdminsMayEditPriorityConfiguration(boolean onlyAdminsMayEditPriorityConfiguration)
-
setStrategy
@DataBoundSetter public void setStrategy(SorterStrategy strategy)
-
get
public static PrioritySorterConfiguration get()
-
-