PropertyLoggingInterceptor (install4j API)
Keywords: com.install4j.api.beans.PropertyLoggingInterceptor interface

Overview | Package | Class | Tree | Deprecated | Index | Help
| install4j API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.install4j.api.beans
Interface PropertyLoggingInterceptor

    public interface PropertyLoggingInterceptor

Interceptor interface for beans to modify property values that are written to the installer log file. If you wish to modify logged property values, you have to make your bean implement this interface. This can be necessary for security reasons, e.g. if a property value contains a variable that expands to a password.

Author:
  ej-technologies GmbH

Method Summary
`java.lang.Object` | `getLogValueForProperty(java.lang.String propertyName, java.lang.Object propertyValue)` Replace the value of the property for logging purposes.

Method Detail

### getLogValueForProperty

    java.lang.Object getLogValueForProperty(java.lang.String propertyName,
                                            java.lang.Object propertyValue)

  Replace the value of the property for logging purposes. The returned value will not be used in any other context.

  Parameters:
    `propertyName` - the name of the property that is being logged.
    `propertyValue` - the value of the property that would be logged by default.
  Returns:
    the value that will be logged.

Overview | Package | Class | Tree | Deprecated | Index | Help
| install4j API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD