Class MaskingJsonGeneratorDecorator.PathMask

java.lang.Object
net.logstash.logback.mask.MaskingJsonGeneratorDecorator.PathMask
Enclosing class:
MaskingJsonGeneratorDecorator

public static class MaskingJsonGeneratorDecorator.PathMask extends Object
Paths to mask, and the value to write as the mask.
  • Constructor Details

    • PathMask

      public PathMask()
    • PathMask

      public PathMask(String path)
    • PathMask

      public PathMask(String path, String mask)
    • PathMask

      public PathMask(List<String> paths)
    • PathMask

      public PathMask(List<String> paths, String mask)
  • Method Details

    • addPath

      public void addPath(String path)
      Parameters:
      path - the absolute or partial field path to mask (see PathBasedFieldMasker for format)
    • addPaths

      public void addPaths(String paths)
      Parameters:
      paths - a comma-separated string of absolute or partial field paths to mask (see PathBasedFieldMasker for format)
    • setMask

      public void setMask(String mask)
      Parameters:
      mask - the value to write as a mask for any paths that match the paths.