Uses of Class
com.ultikits.ultitools.config.document.OperatorFileWriter.Result
Packages that use OperatorFileWriter.Result
Package
Description
The config storage layer: a config file as a document over SnakeYAML's node tree, the plain-data
boundary every value crosses before it reaches a file, the configuration write gate
(
OperatorFileWriter) every write to an operator-editable configuration file goes through, and the
atomic writer that publishes what the gate verified.-
Uses of OperatorFileWriter.Result in com.ultikits.ultitools.abstracts
Fields in com.ultikits.ultitools.abstracts declared as OperatorFileWriter.ResultModifier and TypeFieldDescriptionprivate OperatorFileWriter.ResultAbstractConfigEntity.PanelWrite.committedMethods in com.ultikits.ultitools.abstracts that return OperatorFileWriter.ResultModifier and TypeMethodDescriptionprivate OperatorFileWriter.ResultAbstractConfigEntity.rewriteTokenComments(ConfigLoadResult loaded) Rewrites the framework's token comments in the current language through the config write gate (OperatorFileWriter), at start-up and on reload.private OperatorFileWriter.ResultAbstractConfigEntity.writeInitialization(Map<Field, Object> inserted, String expected, ConfigDocument read) Writes an initialization - the declared keysinitfound missing, each with its comment, and the framework's token comments - through the config write gate (OperatorFileWriter), at once or from the batch flush. -
Uses of OperatorFileWriter.Result in com.ultikits.ultitools.config.document
Fields in com.ultikits.ultitools.config.document declared as OperatorFileWriter.ResultModifier and TypeFieldDescriptionprivate final OperatorFileWriter.ResultOperatorFileWriter.Staged.settledMethods in com.ultikits.ultitools.config.document that return OperatorFileWriter.ResultModifier and TypeMethodDescriptionprivate static OperatorFileWriter.ResultOperatorFileWriter.Staged.commit()Publishes the staged content when the target still holds exactly the bytes the write was verified against (or, for a file the gate read absent, while no file exists there); otherwise the staged file is released and the result isOperatorFileWriter.Outcome.FILE_CHANGED, logged once.private static OperatorFileWriter.ResultOperatorFileWriter.fail(OperatorFileWriter.Outcome outcome, Path absolute, OwnedPaths owned, List<String> keys, String reason) private static OperatorFileWriter.Resultprivate static OperatorFileWriter.ResultOperatorFileWriter.refuseAnchored(Path absolute, OwnedPaths owned) An anchored file is refused on every write but named once per file per server run.OperatorFileWriter.Staged.settledResult()The settled result of a write that needed no staging, ornullwhile content is staged.static OperatorFileWriter.ResultOperatorFileWriter.write(Path file, OwnedPaths owned, String expectedFingerprint, Consumer<ConfigDocument> edit) Applieseditto the file as it is now and publishes the result only when every byte outsideownedstays as it is (see the class description for why this cannot overwrite operator content).(package private) static OperatorFileWriter.ResultOperatorFileWriter.write(Path file, OwnedPaths owned, String expectedFingerprint, Consumer<ConfigDocument> edit, AtomicConfigWriter.FileOperations files) AsOperatorFileWriter.write(Path, OwnedPaths, String, Consumer), with the publication steps as a test seam (null: real).private static OperatorFileWriter.ResultOperatorFileWriter.written(String rendered, ConfigDocument candidate, String read) Methods in com.ultikits.ultitools.config.document with parameters of type OperatorFileWriter.ResultModifier and TypeMethodDescription(package private) static OperatorFileWriter.StagedOperatorFileWriter.Staged.settled(OperatorFileWriter.Result result) Constructors in com.ultikits.ultitools.config.document with parameters of type OperatorFileWriter.Result