Package org.apache.maven.model.building
Class DefaultModelBuildingEvent
java.lang.Object
org.apache.maven.model.building.DefaultModelBuildingEvent
- All Implemented Interfaces:
ModelBuildingEvent
@Deprecated(since="4.0.0")
class DefaultModelBuildingEvent
extends Object
implements ModelBuildingEvent
Deprecated.
Holds data relevant for a model building event.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Model
Deprecated.private final ModelProblemCollector
Deprecated.private final ModelBuildingRequest
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDefaultModelBuildingEvent
(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetModel()
Deprecated.Gets the model being built.Deprecated.Gets the container used to collect problems that were encountered while processing the event.Deprecated.Gets the model building request being processed.
-
Field Details
-
model
Deprecated. -
request
Deprecated. -
problems
Deprecated.
-
-
Constructor Details
-
DefaultModelBuildingEvent
DefaultModelBuildingEvent(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.
-
-
Method Details
-
getModel
Deprecated.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
Deprecated.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
Deprecated.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
.
-
ModelBuilder
instead