Package de.oktoflow.platform.cmdTools
Class PomReader.PomInfo
java.lang.Object
de.oktoflow.platform.cmdTools.PomReader.PomInfo
- Enclosing class:
PomReader
Simple wrapper class for extracted information.
- Author:
- Patu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the ArtifactId.Returns the fullPath.Returns the GroupId.Returns the GroupId as path.Returns the optional parent ArtifactId.Returns the optional parent GroupId.Returns the optional parent Version.getProperty(String property, String dflt) Returns the value of a property.Returns the Version.toString()
-
Field Details
-
fullPath
-
groupId
-
artifactId
-
version
-
parentGroupId
-
parentArtifactId
-
parentVersion
-
properties
-
-
Constructor Details
-
PomInfo
public PomInfo()
-
-
Method Details
-
getFullPath
Returns the fullPath.- Returns:
- the fullPath.
-
getGroupId
Returns the GroupId.- Returns:
- the GroupId.
-
getParentGroupId
Returns the optional parent GroupId.- Returns:
- the parent GroupId (may be null).
-
getGroupPath
Returns the GroupId as path.- Returns:
- the GroupId as path (i.e. eu/qualimaster/).
-
getArtifactId
Returns the ArtifactId.- Returns:
- the ArtifactId.
-
getParentArtifactId
Returns the optional parent ArtifactId.- Returns:
- the parent ArtifactId (may be null).
-
getVersion
Returns the Version.- Returns:
- the Version.
-
getParentVersion
Returns the optional parent Version.- Returns:
- the parent version (may be null).
-
getProperty
Returns the value of a property.- Parameters:
property- the name of the propertydflt- the default value if the property does not exist- Returns:
- the value, may be null if the property does not exist
-
toString
-