Package io.spring.initializr.web.project
Class ProjectRequestEvent
java.lang.Object
io.spring.initializr.web.project.ProjectRequestEvent
- Direct Known Subclasses:
ProjectFailedEvent,ProjectGeneratedEvent
Event published when a
ProjectRequest has been processed.- Author:
- Stephane Nicoll
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProjectRequestEvent(ProjectRequest request, InitializrMetadata metadata) -
Method Summary
Modifier and TypeMethodDescriptionReturn the metadata that was used to generate the project.Return theProjectRequestused to generate the project.longReturn the timestamp at which the request was processed.
-
Constructor Details
-
ProjectRequestEvent
-
-
Method Details
-
getProjectRequest
Return theProjectRequestused 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
Return the metadata that was used to generate the project.- Returns:
- the metadata
-