Interface VariableProvider

    • Method Detail

      • getName

        String getName()
        Method return the name of this provider. The name should inform about the origin.
        Returns:
        the name as string.
      • getValue

        default String getValue​(String variable,
                                String defaultValue)
        Parameters:
        variable - the variable name to be resolved.
        defaultValue - the value to return in case the variable could not be resolved.
        Returns:
        the value of the variable.
      • getValues

        Map<String,​String> getValues​(String variableContains)
        Method resolves all variables whose name contains the given identifier.
        Parameters:
        variableContains - the identifier to select the variables.
        Returns:
        a map of the variable name and its current value.