Class SensitiveContentFilter

java.lang.Object
com.cloudbees.jenkins.support.filter.SensitiveContentFilter
All Implemented Interfaces:
ContentFilter, ExtensionPoint

@Extension @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class SensitiveContentFilter extends Object implements ContentFilter
Filters contents based on names provided by all known sources.
Since:
TODO
See Also:
  • Constructor Details

    • SensitiveContentFilter

      public SensitiveContentFilter()
  • Method Details

    • get

      public static SensitiveContentFilter get()
    • filter

      @NonNull public String filter(@NonNull String input)
      Description copied from interface: ContentFilter
      Filters a line or snippet of text.
      Specified by:
      filter in interface ContentFilter
      Parameters:
      input - input data to filter
      Returns:
      the filtered input data
    • reload

      public void reload()
      Description copied from interface: ContentFilter
      Reloads the state of this filter. This may be implemented to rescan for more items to filter.
      Specified by:
      reload in interface ContentFilter