Interface ValidationMessage.Builder

    • Method Detail

      • message

        ValidationMessage.Builder message​(String message)

        A message describing the error or warning.

        Parameters:
        message - A message describing the error or warning.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • severity

        ValidationMessage.Builder severity​(String severity)

        An indication of the severity of this message:

        • error: This message indicates that this is not a valid setting for an option.

        • warning: This message is providing information you should take into account.

        Parameters:
        severity - An indication of the severity of this message:

        • error: This message indicates that this is not a valid setting for an option.

        • warning: This message is providing information you should take into account.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ValidationSeverity, ValidationSeverity
      • severity

        ValidationMessage.Builder severity​(ValidationSeverity severity)

        An indication of the severity of this message:

        • error: This message indicates that this is not a valid setting for an option.

        • warning: This message is providing information you should take into account.

        Parameters:
        severity - An indication of the severity of this message:

        • error: This message indicates that this is not a valid setting for an option.

        • warning: This message is providing information you should take into account.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ValidationSeverity, ValidationSeverity
      • namespace

        ValidationMessage.Builder namespace​(String namespace)

        The namespace to which the option belongs.

        Parameters:
        namespace - The namespace to which the option belongs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • optionName

        ValidationMessage.Builder optionName​(String optionName)

        The name of the option.

        Parameters:
        optionName - The name of the option.
        Returns:
        Returns a reference to this object so that method calls can be chained together.