Interface AddProjectHook

All Known Implementing Classes:
EmptyAddProjectHook

@PublicSpi public interface AddProjectHook
SPI for the "Add Project" operation. Implementations are encouraged to extend EmptyAddProjectHook for ease of use.
Since:
7.0
  • Method Details

    • validate

      ValidateResponse validate(ValidateData validateData)
      Gets called before a project is added. Implementations may veto the project creation by adding errors to the ValidateResponse.
      Parameters:
      validateData - a ValidateData
      Returns:
      a ValidateResponse
    • configure

      ConfigureResponse configure(ConfigureData configureData)
      Gets called after a project has been added successfully. Implementations can use the ConfigureResponse to specify where the user should be redirected to after.
      Parameters:
      configureData - a ConfigureData
      Returns:
      a ConfigureResponse