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.Self
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Feldübersicht
Von Klasse geerbte Felder hudson.model.Descriptor
clazz
-
Konstruktorübersicht
ModifiziererKonstruktorBeschreibungprotected
Creates a newGlobalConfigurationItem
.protected
Creates a newGlobalConfigurationItem
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected void
Clears all model elements of a repeatable property.boolean
configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) final void
load()
protected Object
Called after de-serialization to restore transient fields.final void
save()
Von Klasse geerbte Methoden jenkins.model.GlobalConfiguration
all, getDescriptor, getGlobalConfigPage
Von 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:
configure
in 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:
load
in KlasseDescriptor<GlobalConfiguration>
-
save
public final void save()- Angegeben von:
save
in SchnittstelleSaveable
- Setzt außer Kraft:
save
in KlasseDescriptor<GlobalConfiguration>
-