public interface TransformerContext
Modifier and Type | Field and Description |
---|---|
static Object |
KEY
Key to get the TransformerContext from the SessionData
|
Modifier and Type | Method and Description |
---|---|
Model |
getRawModel(Path pomFile)
Get the model based on the path, will be used to resolve the parent based on relativePath
|
Model |
getRawModel(String groupId,
String artifactId)
Get the model from the reactor based on the groupId and artifactId, will be used for reactor dependencies
|
String |
getUserProperty(String key)
Get the value of the commandline argument
-Dkey=value |
static final Object KEY
String getUserProperty(String key)
-Dkey=value
key
- Model getRawModel(Path pomFile)
pomFile
- the path to the pomFilenull
Model getRawModel(String groupId, String artifactId)
groupId
- the groupIdartifactId
- the artifactIdnull
IllegalStateException
- if multiple versions of the same GA are part of the reactorCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.