Package de.oktoflow.platform.cmdTools
Interface PomReader.PomHandler
- Enclosing class:
PomReader
private static interface PomReader.PomHandler
A simplified POM reading handler.
- Author:
- Holger Eichelberger, SSE
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleParentPom(Node node) Called for an optional POM parent.voidhandleParentPomArtifactId(Node node, String artifactId) Called for the optional parent POM artifact id.voidhandleParentPomGroupId(Node node, String groupId) Called for the optional parent POM group id.voidhandleParentPomVersion(Node node, String version) Called for the optional parent POM version.voidhandlePomArtifactId(Node node, String artifactId) Called for the POM artifact id.voidhandlePomGroupId(Node node, String groupId) Called for the POM group id.voidhandlePomVersion(Node node, String version) Called for the POM version.voidhandleProperty(Node node, String property) Handles the given property.booleanWhether the POM was ignored.booleanWhether the POM was modified and shall be re-written.
-
Method Details
-
wasModified
boolean wasModified()Whether the POM was modified and shall be re-written.- Returns:
truefor modified,falseelse
-
wasIgnored
boolean wasIgnored()Whether the POM was ignored.- Returns:
truefor ignored,falseelse
-
handlePomGroupId
Called for the POM group id.- Parameters:
node- the nodegroupId- the group id
-
handlePomArtifactId
Called for the POM artifact id.- Parameters:
node- the nodeartifactId- the artifact id
-
handlePomVersion
Called for the POM version.- Parameters:
node- the nodeversion- the version
-
handleParentPomGroupId
Called for the optional parent POM group id.- Parameters:
node- the nodegroupId- the group id
-
handleParentPomArtifactId
Called for the optional parent POM artifact id.- Parameters:
node- the nodeartifactId- the artifact id
-
handleParentPomVersion
Called for the optional parent POM version.- Parameters:
node- the nodeversion- the version
-
handleParentPom
Called for an optional POM parent.- Parameters:
node- the node
-
handleProperty
Handles the given property.- Parameters:
node- the nodeproperty- the property
-