Interface QueryParamBuilderFactory

  • All Known Implementing Classes:
    UserTaskPotOwnerQueryBuilderFactory

    public interface QueryParamBuilderFactory
    Factory for query param builders that can be constructed based on:
    • identifier
    • set of parameters - key value pairs
    • Method Detail

      • accept

        boolean accept​(String identifier)
        Determines if this factory can build instances with given identifier
        Parameters:
        identifier - identifier of the query param builder
        Returns:
        returns true if is capable of building instances with given identifier otherwise false
      • newInstance

        QueryParamBuilder<?> newInstance​(Map<String,​Object> parameters)
        Returns new QueryParamBuilder instance constructed with given parameters
        Parameters:
        parameters - parameters to be used to construct query param builder instance
        Returns:
        fully built instance of QueryParamBuilder