Package org.apache.maven.model.building
Class DefaultModelBuildingEvent
java.lang.Object
org.apache.maven.model.building.DefaultModelBuildingEvent
- All Implemented Interfaces:
ModelBuildingEvent
Holds data relevant for a model building event.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Model
private final ModelProblemCollector
private final ModelBuildingRequest
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultModelBuildingEvent
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) -
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.
-
Field Details
-
model
-
request
-
problems
-
-
Constructor Details
-
DefaultModelBuildingEvent
DefaultModelBuildingEvent(Model model, ModelBuildingRequest request, ModelProblemCollector problems)
-
-
Method Details
-
getModel
Description copied from interface:ModelBuildingEvent
Gets the model being built. The precise state of this model depends on the event being fired.- Specified by:
getModel
in interfaceModelBuildingEvent
- Returns:
- The model being built, never
null
.
-
getRequest
Description copied from interface:ModelBuildingEvent
Gets the model building request being processed.- Specified by:
getRequest
in interfaceModelBuildingEvent
- Returns:
- The model building request being processed, never
null
.
-
getProblems
Description copied from interface:ModelBuildingEvent
Gets the container used to collect problems that were encountered while processing the event.- Specified by:
getProblems
in interfaceModelBuildingEvent
- Returns:
- The container used to collect problems that were encountered, never
null
.
-