Class ProjectRequestEvent

java.lang.Object
io.spring.initializr.web.project.ProjectRequestEvent
Direct Known Subclasses:
ProjectFailedEvent, ProjectGeneratedEvent

public abstract class ProjectRequestEvent extends Object
Event published when a ProjectRequest has been processed.
Author:
Stephane Nicoll
See Also:
  • Constructor Details

  • Method Details

    • getProjectRequest

      public ProjectRequest getProjectRequest()
      Return the ProjectRequest used to generate the project.
      Returns:
      the project request
    • getTimestamp

      public long getTimestamp()
      Return the timestamp at which the request was processed.
      Returns:
      the timestamp that the request was processed
    • getMetadata

      public InitializrMetadata getMetadata()
      Return the metadata that was used to generate the project.
      Returns:
      the metadata