Interface ProjectContextPopulator

All Known Implementing Classes:
ProjectContextPopulatorImpl

public interface ProjectContextPopulator
Populates a context with the Project information. It will add: * The project * The project key * The project key encoded as a URL path segment * The project key encoded as a query string * Any parameter provided by the registered ProjectScopeFilterContextProvider
Since:
v3.0.3
  • Method Details

    • populateWithProject

      Map<String,Object> populateWithProject(Map<String,Object> base, Project project)
      Returns a new map comprised by the values of the base map plus some values related to the project. It does not modify the base map.
      Parameters:
      base - Map with the values to include in the final result.
      project - The project to extract the values from.
      Returns:
      A new map with the values of base + values for the project
    • populateWithProject

      Map<String,Object> populateWithProject(Project project)
      Parameters:
      project - The project to extract the values from.
      Returns:
      A new map with the values for the project