Package org.apache.maven.model.building
Interface ModelBuildingEvent
public interface ModelBuildingEvent
Holds data relevant for a model building event.
- Author:
- Benjamin Bentmann
-
Method Summary
Modifier and TypeMethodDescriptiongetModel()
Gets the model being built.Gets the container used to collect problems that were encountered while processing the event.Gets the model building request being processed.
-
Method Details
-
getModel
Model getModel()Gets the model being built. The precise state of this model depends on the event being fired.- Returns:
- The model being built, never
null
.
-
getRequest
ModelBuildingRequest getRequest()Gets the model building request being processed.- Returns:
- The model building request being processed, never
null
.
-
getProblems
ModelProblemCollector getProblems()Gets the container used to collect problems that were encountered while processing the event.- Returns:
- The container used to collect problems that were encountered, never
null
.
-