Class PomModifications
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.TreeSet<PomModifications.Modification>
org.technologybrewery.baton.util.pom.PomModifications
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<PomModifications.Modification>,Collection<PomModifications.Modification>,NavigableSet<PomModifications.Modification>,Set<PomModifications.Modification>,SortedSet<PomModifications.Modification>
Tracks and applies modifications to a Maven POM file "in-place" to preserve formatting.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAdvances the input reader to the line at the specified end location, writing only the content that is not between the start location and the end location to the output writer.static classA class to iteratively apply a series of POM file modifications.static classInserts the produced content at the specified start line and before the existing content on that line.static classThe abstract class by which all POM file modifications inherit from.static classReplaces the content between the start and end locations with the produced content. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns an instance of the Final class configure with an iterable of all loaded POM file modifications.Methods inherited from class java.util.TreeSet
add, addAll, ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, spliterator, subSet, subSet, tailSet, tailSetMethods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
PomModifications
public PomModifications()
-
-
Method Details
-
finalizeMods
Returns an instance of the Final class configure with an iterable of all loaded POM file modifications.- See Also:
-