Interface HandlerConfiguration

All Superinterfaces:
HandlerContainingConfigurable, NamedConfigurable, ObjectConfigurable<Handler>, PropertyConfigurable

Configuration for a single handler.
Author:
David M. Lloyd
  • Method Details

    • getFormatterName

      String getFormatterName()
      Get the name of the configured formatter for this handler.
      Returns:
      the formatter name
    • getFormatterNameValueExpression

      ValueExpression<String> getFormatterNameValueExpression()
      Gets the formatter name which may be an expression.
      Returns:
      the formatter name
    • setFormatterName

      void setFormatterName(String name)
      Set the name of the configured formatter for this handler.
      Parameters:
      name - the formatter name
    • setFormatterName

      void setFormatterName(String expression, String value)
      Sets the expression value for the formatter name.

      This method will not parse the expression for the value and instead use the level parameter for the formatter name on the handler.

      Parameters:
      expression - the expression used to resolve the level
      value - the value to set the formatter name to
      See Also:
    • getLevel

      String getLevel()
      Gets the level set on the handler.
      Returns:
      the level
    • getLevelValueExpression

      ValueExpression<String> getLevelValueExpression()
      Returns the level that may be an expression.
      Returns:
      the level
    • setLevel

      void setLevel(String level)
      Sets the level on the handler.
      Parameters:
      level - the level to set, may be an expression
      See Also:
    • setLevel

      void setLevel(String expression, String level)
      Sets the expression value for the level.

      This method will not parse the expression for the value and instead use the level parameter for the level on the handler.

      Parameters:
      expression - the expression used to resolve the level
      level - the level to use
      See Also:
    • getFilter

      String getFilter()
    • getFilterValueExpression

      ValueExpression<String> getFilterValueExpression()
      Returns a filter that may be an expression.
      Returns:
      the filter
    • setFilter

      void setFilter(String name)
    • setFilter

      void setFilter(String expression, String value)
      Sets the expression value and for the filter.

      This method will not parse the expression for the value and instead use the value parameter for the filter on the handler.

      Parameters:
      expression - the expression
      value - the value to set the filter to
    • getEncoding

      String getEncoding()
    • getEncodingValueExpression

      ValueExpression<String> getEncodingValueExpression()
      Returns the encoding which may be an expression.
      Returns:
      the encoding
    • setEncoding

      void setEncoding(String name)
    • setEncoding

      void setEncoding(String expression, String value)
      Sets the expression value for the encoding.

      This method will not parse the expression for the value and instead use the value parameter for the encoding on the handler.

      Parameters:
      expression - the expression
      value - the value to set the encoding to
      See Also:
    • getErrorManagerName

      String getErrorManagerName()
    • getErrorManagerNameValueExpression

      ValueExpression<String> getErrorManagerNameValueExpression()
      Returns the error manager name which may be an expression.
      Returns:
      the error manager name
    • setErrorManagerName

      void setErrorManagerName(String name)
    • setErrorManagerName

      void setErrorManagerName(String expression, String value)
      Sets the expression value for the error manager name.

      This method will not parse the expression for the value and instead use the value parameter for the error manager name on the handler.

      Parameters:
      expression - the expression
      value - the value to set the error manager name to
      See Also: