Class Correlator

  • All Implemented Interfaces:
    Describable<Correlator>, Saveable, OnMaster

    @Extension
    @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    public class Correlator
    extends Descriptor<Correlator>
    implements Describable<Correlator>
    This class stores a UUID identifying this instance for telemetry reporting to allow deduplication or merging of submitted records. We're not using anything derived from instance identity so we cannot connect an instance's public appearance with its submissions. This really only uses Descriptor/Describable to get a Saveable implementation for free.
    • Constructor Detail

      • Correlator

        public Correlator()
    • Method Detail

      • getCorrelationId

        public String getCorrelationId()
      • getDescriptor

        public Descriptor<Correlator> getDescriptor()
        Description copied from interface: Describable
        Gets the descriptor for this instance.

        Descriptor is a singleton for every concrete Describable implementation, so if a.getClass() == b.getClass() then by default a.getDescriptor() == b.getDescriptor() as well. (In rare cases a single implementation class may be used for instances with distinct descriptors.)

        Specified by:
        getDescriptor in interface Describable<Correlator>