Class NameProvider

java.lang.Object
com.cloudbees.jenkins.support.filter.NameProvider
All Implemented Interfaces:
ExtensionPoint

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class NameProvider extends Object implements ExtensionPoint
Strategy for providing a stream of names to anonymize along with an accompanying name generator.
Since:
TODO
See Also:
  • Field Details

  • Method Details

    • names

      @NonNull public Stream<String> names()
      Returns:
      a stream of names to anonymize
    • generateFake

      @NonNull public String generateFake()
      Returns:
      a new fake name to use for anonymization
    • all

      @NonNull public static ExtensionList<NameProvider> all()
      Returns:
      all registered NameProviders