Package network.ike.plugin.scaffold
package network.ike.plugin.scaffold
-
ClassDescriptionTemplate source backed by an unpacked directory.Filesystem mode a scaffold-written file should carry on disk.Release-time refresh of the scaffold manifest's
foundation:block (IKE-Network/ike-issues#414).A foundation artifact whose pin is baked at release time.The assessment of one foundation pin.Classification of a foundation pin against its latest GA.Compare a project's POM against the IKE-foundation pins captured in a scaffold manifest'sfoundation:section (#345).One drift comparison result.Classification of a drift entry.Classification of a drift entry's state.Model adapter for git config files (~/.gitconfigor a repository's.git/config).Minimal LCS-based line differ used by tracked and tracked-block tier handlers to build human-readable diff output forscaffold-draft.Added/removed line counts.One file's entry in a scaffold lockfile.Provenance record for a single element installed by theMODEL_MANAGEDtier.One file's entry in a scaffold manifest.In-memoryTemplateSourcebacked by aMap<String, byte[]>.Model adapter for~/.m2/settings.xml(Maven Settings 1.2.0).Plan-time adapter for a single model-managed file type.Registry ofModelAdapterinstances keyed by model name.Plan-time decision from aModelAdapter.A scaffold file recorded in.ike/scaffold.lockwhosedestthe current manifest no longer ships — the file was installed by ascaffold-publishrun under a scaffold strategy that has since been retired.Whatscaffold-publishwill do with an orphan.Find scaffold lockfile entries the current manifest no longer ships.Expands manifestdeststrings to absolute filesystem paths.One entry in aScaffoldPlan: the manifest entry, theTierActionthat publish should take, and — forScaffoldTier.MODEL_MANAGEDentries — the per-element provenance to record in the lockfile.Model adapter forpom.xmlvia OpenRewrite's XML LST.Execute aScaffoldPlan: write out Write-actions to disk and compose the updatedScaffoldLockfile.Thrown when scaffold operations cannot complete: malformed lockfile, malformed manifest, I/O failure, or invalid state detected during draft/publish/revert.In-memory representation of a scaffold lockfile.Read and writeScaffoldLockfileinstances in the on-disk YAML format documented in thedev-ike-scaffold-architecturedesign note.In-memory representation of a scaffold manifest.IKE-foundation version pins baked into the scaffold zip at release time (#345).Coordinates of an inheriting parent POM, used byScaffoldManifest.Foundation.Read a scaffold manifest from YAML.Shared plumbing forike:scaffold-draft,ike:scaffold-publish, andike:scaffold-revert.Aggregate counts of each action kind in a plan.The output ofScaffoldPlanner: a list ofPlannedEntryrecords, one per manifest entry the planner considered.Undo a previous scaffold publish.Per-entry result of a revert.Kinds of outcome.Aggregate revert result.Scope a scaffold manifest entry targets.Ownership tier that determines how a scaffolded file is managed.SHA-256 hash utility for scaffold checksums.Source of scaffold template bytes, addressed by the string inManifestEntry.source().A plan-time decision about what to do with a single scaffold entry.Publish must not touchTierAction.Skip.resolvedDest()because the user has diverged from the last-applied version.Nothing to write — target already matches the current template.Publish must not touchTierAction.UserManaged.resolvedDest()because at least one managed element already exists with a value the user has chosen, and policy is to defer to the user's value rather than overwrite it.Publish should writenewContenttoTierAction.Write.resolvedDest().Category of write, for draft output and ordering.A tier-specific planner that converts a manifest entry + current disk state + template bytes + prior lockfile state into a singleTierAction.Registry of file-basedTierHandlerinstances keyed byScaffoldTier.Tier handler forScaffoldTier.TOOL_OWNED.Tier handler forScaffoldTier.TRACKED_BLOCK.Tier handler forScaffoldTier.TRACKED.