Package io.jenkins.plugins.util
Klasse GlobalConfigurationItem
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
io.jenkins.plugins.util.GlobalConfigurationItem
- Alle implementierten Schnittstellen:
ExtensionPoint,Describable<GlobalConfiguration>,Saveable,OnMaster
Testable base class for items of the
GlobalConfiguration page.- Autor:
- Ullrich Hafner
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Feldübersicht
Von Klasse geerbte Felder hudson.model.Descriptor
clazz -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedCreates a newGlobalConfigurationItem.protectedCreates a newGlobalConfigurationItem. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidClears all model elements of a repeatable property.booleanconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) final voidload()protected ObjectCalled after de-serialization to restore transient fields.final voidsave()Von Klasse geerbte Methoden jenkins.model.GlobalConfiguration
all, getDescriptor, getGlobalConfigPageVon Klasse geerbte Methoden 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, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, self, toArray, toList, toMap
-
Konstruktordetails
-
GlobalConfigurationItem
protected GlobalConfigurationItem()Creates a newGlobalConfigurationItem. -
GlobalConfigurationItem
Creates a newGlobalConfigurationItem.- Parameter:
facade- the facade to use
-
-
Methodendetails
-
readResolve
Called after de-serialization to restore transient fields.- Gibt zurück:
- this
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException - Setzt außer Kraft:
configurein KlasseGlobalConfiguration- Löst aus:
Descriptor.FormException
-
clearRepeatableProperties
protected void clearRepeatableProperties()Clears all model elements of a repeatable property. Due to a bug in Stapler data binding of repeatable properties the model elements are only changed if they consist of one or more values. If all values have been removed and the associated form is empty, then the setter is not invoked anymore. -
load
public final void load()- Setzt außer Kraft:
loadin KlasseDescriptor<GlobalConfiguration>
-
save
public final void save()- Angegeben von:
savein SchnittstelleSaveable- Setzt außer Kraft:
savein KlasseDescriptor<GlobalConfiguration>
-