Interface AuditMessageBuilder<T extends AuditMessageBuilder<T>>

    • Method Detail

      • getMessage

        AuditMessage getMessage()
        Returns:
        the audit message being built
      • getMessages

        default AuditMessage[] getMessages()
        Returns:
        the audit message being built as only element in an array
      • getTypeValuePair

        default TypeValuePairType getTypeValuePair​(String type,
                                                   Object value)
        Create and set a Type Value Pair instance for a given type and value
        Parameters:
        type - the type to set
        value - the value to set
        Returns:
        the Type Value Pair instance
      • getTypeValuePair

        default TypeValuePairType getTypeValuePair​(String type,
                                                   byte[] value)
        Create and set a Type Value Pair instance for a given type and value
        Parameters:
        type - the type to set
        value - the value to set
        Returns:
        the Type Value Pair instance
      • getTypeValuePair

        default TypeValuePairType getTypeValuePair​(String type,
                                                   Object value,
                                                   String defaultValue)
        Create and set a Type Value Pair instance for a given type and value
        Parameters:
        type - the type to set
        value - the value to set
        defaultValue - the value to set if value is null
        Returns:
        the Type Value Pair instance
      • getTypeValuePair

        default TypeValuePairType getTypeValuePair​(String type,
                                                   byte[] value,
                                                   byte[] defaultValue)
        Create and set a Type Value Pair instance for a given type and value
        Parameters:
        type - the type to set
        value - the value to set
        defaultValue - the value to set if value is null
        Returns:
        the Type Value Pair instance
      • self

        default T self()
        Returns:
        this builder