Package com.xebialabs.xlrelease.utils

# Class SensitiveValueScrubber

java.lang.Object
com.xebialabs.xlrelease.utils.SensitiveValueScrubber

public class SensitiveValueScrubber extends Object
A collection of values that need to be removed from the logs. The black-listed values come from passwords and other sensitive values used in non-password fields.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SensitiveValueScrubber(Set<String> variablesUsed, Map<String,String> variableMap)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static SensitiveValueScrubber`
  `disabled()`
  The scrubber won't attempt to clean anything because there is nothing to scrub in this case.
  `String`
  `scrubValues(String original)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### SensitiveValueScrubber

    public SensitiveValueScrubber(Set<String> variablesUsed, Map<String,String> variableMap)

- ## Method Details

  - ### disabled

    public static SensitiveValueScrubber disabled()
    The scrubber won't attempt to clean anything because there is nothing to scrub in this case.
    Returns:
      a null object instance

  - ### scrubValues

    public String scrubValues(String original)

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`