Class RequirePropertyDiverges.CreateInvokingRuleDom
java.lang.Object
org.codehaus.mojo.extraenforcer.model.RequirePropertyDiverges.CreateInvokingRuleDom
- Enclosing class:
RequirePropertyDiverges
Creates the DOM of the invoking rule, but returns the children alphabetically sorted.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReal work is done in the constructor -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
addToMapWhenNotNull
(String member, String memberName) org.codehaus.plexus.util.xml.Xpp3Dom
Readily prepared in constructor.
-
Field Details
-
ruleDom
private final org.codehaus.plexus.util.xml.Xpp3Dom ruleDom -
map
-
-
Constructor Details
-
CreateInvokingRuleDom
CreateInvokingRuleDom(RequirePropertyDiverges rule) Real work is done in the constructor
-
-
Method Details
-
getRuleDom
public org.codehaus.plexus.util.xml.Xpp3Dom getRuleDom()Readily prepared in constructor.- Returns:
- the ruleDom
-
addToMapWhenNotNull
-
addChildrenToRuleDom
private void addChildrenToRuleDom()
-