Class PomReader.PomInfo

java.lang.Object
de.oktoflow.platform.cmdTools.PomReader.PomInfo
Enclosing class:
PomReader

public static class PomReader.PomInfo extends Object
Simple wrapper class for extracted information.
Author:
Patu
  • Field Details

    • fullPath

      private String fullPath
    • groupId

      private String groupId
    • artifactId

      private String artifactId
    • version

      private String version
    • parentGroupId

      private String parentGroupId
    • parentArtifactId

      private String parentArtifactId
    • parentVersion

      private String parentVersion
    • properties

      private Map<String,String> properties
  • Constructor Details

    • PomInfo

      public PomInfo()
  • Method Details

    • getFullPath

      public String getFullPath()
      Returns the fullPath.
      Returns:
      the fullPath.
    • getGroupId

      public String getGroupId()
      Returns the GroupId.
      Returns:
      the GroupId.
    • getParentGroupId

      public String getParentGroupId()
      Returns the optional parent GroupId.
      Returns:
      the parent GroupId (may be null).
    • getGroupPath

      public String getGroupPath()
      Returns the GroupId as path.
      Returns:
      the GroupId as path (i.e. eu/qualimaster/).
    • getArtifactId

      public String getArtifactId()
      Returns the ArtifactId.
      Returns:
      the ArtifactId.
    • getParentArtifactId

      public String getParentArtifactId()
      Returns the optional parent ArtifactId.
      Returns:
      the parent ArtifactId (may be null).
    • getVersion

      public String getVersion()
      Returns the Version.
      Returns:
      the Version.
    • getParentVersion

      public String getParentVersion()
      Returns the optional parent Version.
      Returns:
      the parent version (may be null).
    • getProperty

      public String getProperty(String property, String dflt)
      Returns the value of a property.
      Parameters:
      property - the name of the property
      dflt - the default value if the property does not exist
      Returns:
      the value, may be null if the property does not exist
    • toString

      public String toString()
      Overrides:
      toString in class Object