Class JsonMaskingConfig

java.lang.Object
dev.blaauwendraad.masker.json.config.JsonMaskingConfig

public class JsonMaskingConfig extends Object
  • Method Details

    • getDefault

      public static JsonMaskingConfig getDefault(Set<String> targets)
    • custom

      public static JsonMaskingConfig.Builder custom(Set<String> targets, JsonMaskingConfig.TargetKeyMode targetKeyMode)
    • getAlgorithmType

      public JsonMaskerAlgorithmType getAlgorithmType()
    • getMaskNumberValuesWith

      public int getMaskNumberValuesWith()
    • isNumberMaskingEnabled

      public boolean isNumberMaskingEnabled()
    • isNumberMaskingDisabled

      public boolean isNumberMaskingDisabled()
    • getTargetKeyMode

      public JsonMaskingConfig.TargetKeyMode getTargetKeyMode()
    • getTargetKeys

      public Set<String> getTargetKeys()
    • getTargetJsonPaths

      public Set<JsonPath> getTargetJsonPaths()
    • getObfuscationLength

      public int getObfuscationLength()
    • isObfuscationEnabled

      public boolean isObfuscationEnabled()
    • caseSensitiveTargetKeys

      public boolean caseSensitiveTargetKeys()