| Constructor and Description |
|---|
SegmentUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Optional<Segment> |
determineUnchangedSegment(boolean allowMajorUpdates,
boolean allowMinorUpdates,
boolean allowIncrementalUpdates,
org.apache.maven.plugin.logging.Log log)
Based on the passed flags, determines which segment which is not to be changed.
|
public static Optional<Segment> determineUnchangedSegment(boolean allowMajorUpdates, boolean allowMinorUpdates, boolean allowIncrementalUpdates, org.apache.maven.plugin.logging.Log log)
Based on the passed flags, determines which segment which is not to be changed.
Also, logs the enriched values of the allowMajorUpdates, allowMinorUpdates,
and allowIncrementalUpdates options so that allowMinorUpdates equal to false
implies that allowMajorUpdates is also false.
Also, allowIncrementalUpdates equal to false
implies that both allowMajorUpdates and allowMinorUpdates are also false.
| allowMajorUpdates | allowMinorUpdates | allowIncrementalUpdates |
|---|---|---|
| true | true | true |
| true | true | |
| true | ||
allowMajorUpdates - whether all updates should be allowedallowMinorUpdates - if major updates are disallowed, minor, incremental updates should be allowedallowIncrementalUpdates - if major and minor updates are disallowed, incremental updates are allowedlog - If not null, the Log object to log the selected scopeCopyright © 2008–2022 MojoHaus. All rights reserved.