Package hudson.model

Interface PersistentDescriptor

All Superinterfaces:
Loadable, Saveable
All Known Implementing Classes:
ApiTokenPropertyConfiguration, ArtifactManagerConfiguration, DefaultCrumbIssuer.DescriptorImpl, GlobalComputerRetentionCheckIntervalConfiguration, GlobalMavenConfig, JenkinsLocationConfiguration, Maven.DescriptorImpl, QueueItemAuthenticatorConfiguration, SCMTrigger.DescriptorImpl, Shell.DescriptorImpl, UpdateSiteWarningsConfiguration, UsageStatistics

public interface PersistentDescriptor extends Loadable, Saveable
Marker interface for Descriptors which use xml persistent data, and as such need to load from disk when instantiated.

Descriptor.load() method is annotated as PostConstruct so it get automatically invoked after constructor and field injection.

Since:
2.140
Author:
Nicolas De Loof
  • Field Summary

    Fields inherited from interface hudson.model.Saveable

    NOOP
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Loads the state of this object from disk.

    Methods inherited from interface hudson.model.Saveable

    save
  • Method Details

    • load

      @PostConstruct void load()
      Description copied from interface: Loadable
      Loads the state of this object from disk.
      Specified by:
      load in interface Loadable