Interface PropertiesFunction


public interface PropertiesFunction
A function that is applied instead of looking up a property placeholder.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(String remainder)
    Applies the function.
    Name of the function which is used as name: to let the properties component know it is a function.
    default boolean
    lookupFirst(String remainder)
    Whether the value should be looked up as a regular properties first, before applying this function.
  • Method Details

    • getName

      String getName()
      Name of the function which is used as name: to let the properties component know it is a function.
    • apply

      String apply(String remainder)
      Applies the function.
      Parameters:
      remainder - the remainder value
      Returns:
      a value as the result of the function
      See Also:
    • lookupFirst

      default boolean lookupFirst(String remainder)
      Whether the value should be looked up as a regular properties first, before applying this function.
      Parameters:
      remainder - the remainder value
      Returns:
      true to resolve the remainder value as a property value, and then afterwards apply this function, false to apply this function without lookup (default).