Package com.xebialabs.xlrelease.utils

## Class SensitiveValueScrubber

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

-     public class SensitiveValueScrubber
      extends java.lang.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​(java.util.Set<java.lang.String> variablesUsed, java.util.Map<java.lang.String,​java.lang.String> variableMap)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    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.
    `java.lang.String` | `scrubValues​(java.lang.String original)` |
    `java.lang.String` | `toString()` |

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

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

- - ### Constructor Detail

    - #### SensitiveValueScrubber

          public SensitiveValueScrubber​(java.util.Set<java.lang.String> variablesUsed,
                                        java.util.Map<java.lang.String,​java.lang.String> variableMap)

  - ### Method Detail

    - #### 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 java.lang.String scrubValues​(java.lang.String original)

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`