Uses of Record Class
network.ike.plugin.scaffold.ScaffoldLockfile
Packages that use ScaffoldLockfile
-
Uses of ScaffoldLockfile in network.ike.plugin.scaffold
Methods in network.ike.plugin.scaffold that return ScaffoldLockfileModifier and TypeMethodDescriptionScaffoldApplier.apply(ScaffoldPlan plan, ScaffoldLockfile currentLockfile) Carry out a plan.static ScaffoldLockfileScaffoldLockfile.empty()Create an empty lockfile at the current schema with no entries and no applied state.static ScaffoldLockfileScaffoldMojoSupport.loadLockfileOrEmpty(Path lockfilePath) Load a lockfile from disk, returningScaffoldLockfile.empty()when the file is absent.static ScaffoldLockfileParse a lockfile from a Reader.static ScaffoldLockfileParse a lockfile from a file path.ScaffoldApplier.removeOrphans(List<OrphanEntry> orphans, ScaffoldLockfile lockfile) Remove orphaned scaffold files and drop their lockfile entries.ScaffoldReverter.RevertResult.updatedLockfile()Returns the value of theupdatedLockfilerecord component.ScaffoldLockfile.withAppliedStamp(String standardsVersion, Instant applied) Return a copy with the top-levelstandardsVersionandappliedstamps updated (used when publish completes).ScaffoldLockfile.withEntry(String path, LockfileEntry entry) Return a copy of this lockfile with one entry added or replaced.ScaffoldLockfile.withoutEntry(String path) Return a copy of this lockfile with one entry removed.Methods in network.ike.plugin.scaffold with parameters of type ScaffoldLockfileModifier and TypeMethodDescriptionScaffoldApplier.apply(ScaffoldPlan plan, ScaffoldLockfile currentLockfile) Carry out a plan.ScaffoldPlanner.plan(ScaffoldManifest manifest, ScaffoldLockfile currentLockfile, ScaffoldScope scope, PathResolver pathResolver, TemplateSource templates) Build a plan.ScaffoldApplier.removeOrphans(List<OrphanEntry> orphans, ScaffoldLockfile lockfile) Remove orphaned scaffold files and drop their lockfile entries.ScaffoldReverter.revert(ScaffoldLockfile currentLockfile, ScaffoldManifest manifest, ScaffoldScope scope, PathResolver pathResolver) Revert every entry incurrentLockfilethat lives in the given scope.static List<OrphanEntry> OrphanScanner.scan(ScaffoldManifest manifest, ScaffoldLockfile lockfile, ScaffoldScope scope, PathResolver resolver) Scan one scope for orphaned lockfile entries.static voidScaffoldLockfileIo.write(ScaffoldLockfile lockfile, Writer writer) Serialise a lockfile through anyWriter.static voidScaffoldLockfileIo.write(ScaffoldLockfile lockfile, Path path) Serialise a lockfile to a file path, creating parent directories if needed.static StringScaffoldLockfileIo.writeToString(ScaffoldLockfile lockfile) Serialise a lockfile to YAML text.Constructors in network.ike.plugin.scaffold with parameters of type ScaffoldLockfileModifierConstructorDescriptionRevertResult(ScaffoldLockfile updatedLockfile, List<ScaffoldReverter.Outcome> outcomes) Canonical constructor with defensive copying.