Interface PomReader.PomHandler

Enclosing class:
PomReader

private static interface PomReader.PomHandler
A simplified POM reading handler.
Author:
Holger Eichelberger, SSE
  • Method Details

    • wasModified

      boolean wasModified()
      Whether the POM was modified and shall be re-written.
      Returns:
      true for modified, false else
    • wasIgnored

      boolean wasIgnored()
      Whether the POM was ignored.
      Returns:
      true for ignored, false else
    • handlePomGroupId

      void handlePomGroupId(Node node, String groupId)
      Called for the POM group id.
      Parameters:
      node - the node
      groupId - the group id
    • handlePomArtifactId

      void handlePomArtifactId(Node node, String artifactId)
      Called for the POM artifact id.
      Parameters:
      node - the node
      artifactId - the artifact id
    • handlePomVersion

      void handlePomVersion(Node node, String version)
      Called for the POM version.
      Parameters:
      node - the node
      version - the version
    • handleParentPomGroupId

      void handleParentPomGroupId(Node node, String groupId)
      Called for the optional parent POM group id.
      Parameters:
      node - the node
      groupId - the group id
    • handleParentPomArtifactId

      void handleParentPomArtifactId(Node node, String artifactId)
      Called for the optional parent POM artifact id.
      Parameters:
      node - the node
      artifactId - the artifact id
    • handleParentPomVersion

      void handleParentPomVersion(Node node, String version)
      Called for the optional parent POM version.
      Parameters:
      node - the node
      version - the version
    • handleParentPom

      void handleParentPom(Node node)
      Called for an optional POM parent.
      Parameters:
      node - the node
    • handleProperty

      void handleProperty(Node node, String property)
      Handles the given property.
      Parameters:
      node - the node
      property - the property