Package org.apache.maven.model.building
Class ModelData
java.lang.Object
org.apache.maven.model.building.ModelData
Deprecated.
Holds a model along with some auxiliary information. This internal utility class assists the model builder during POM
processing by providing a means to transport information that cannot be (easily) extracted from the model itself.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the effective artifact identifier of the model.Deprecated.Gets the effective group identifier of the model.getId()
Deprecated.Gets unique identifier of the modelgetModel()
Deprecated.Gets the model being wrapped.Deprecated.Deprecated.Gets the effective version of the model.toString()
Deprecated.
-
Field Details
-
source
Deprecated. -
model
Deprecated. -
groupId
Deprecated. -
artifactId
Deprecated. -
version
Deprecated.
-
-
Constructor Details
-
ModelData
Deprecated.Creates a new container for the specified model.- Parameters:
model
- The model to wrap, may benull
.
-
ModelData
Deprecated.Creates a new container for the specified model.- Parameters:
model
- The model to wrap, may benull
.groupId
- The effective group identifier of the model, may benull
.artifactId
- The effective artifact identifier of the model, may benull
.version
- The effective version of the model, may benull
.
-
-
Method Details
-
getSource
Deprecated. -
getModel
Deprecated.Gets the model being wrapped.- Returns:
- The model or
null
if not set.
-
getGroupId
Deprecated.Gets the effective group identifier of the model.- Returns:
- The effective group identifier of the model or an empty string if unknown, never
null
.
-
getArtifactId
Deprecated.Gets the effective artifact identifier of the model.- Returns:
- The effective artifact identifier of the model or an empty string if unknown, never
null
.
-
getVersion
Deprecated.Gets the effective version of the model.- Returns:
- The effective version of the model or an empty string if unknown, never
null
.
-
getId
Deprecated.Gets unique identifier of the model- Returns:
- The effective identifier of the model, never
null
.
-
toString
Deprecated.
-
ModelBuilder
instead