| Constructor and Description |
|---|
VersionedOperations() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
run(Section document,
Section defaults,
UpdaterSettings settings,
char separator)
Runs version-dependent operations.
|
public static boolean run(@NotNull
Section document,
@NotNull
Section defaults,
@NotNull
UpdaterSettings settings,
char separator)
UpdaterSettings.getVersioning() is null, does not proceed and returns false.null), assigns the first version specified by the underlying pattern
(see Versioning.getFirstVersion()) and continues.UnsupportedOperationException.true.true.document - the document section that's being updateddefaults - section equivalent in the defaultssettings - updater settings to useseparator - the route separator, used to parse string routesfalse
otherwise (further manipulation - merging and postprocessing is mandatory)Copyright © 2022. All rights reserved.