Record Class PlannedEntry
java.lang.Object
java.lang.Record
network.ike.plugin.scaffold.PlannedEntry
- Record Components:
manifest- the manifest entryaction- the planned actionmanagedElements- per-element provenance for model-managed entries; nevernull. Stored list is unmodifiable.
public record PlannedEntry(ManifestEntry manifest, TierAction action, List<ManagedElement> managedElements)
extends Record
One entry in a
ScaffoldPlan: the manifest entry, the
TierAction that publish should take, and — for
ScaffoldTier.MODEL_MANAGED entries — the per-element
provenance to record in the lockfile.
File-based tiers use an empty managedElements list;
model-managed entries populate it.
-
Constructor Summary
ConstructorsConstructorDescriptionPlannedEntry(ManifestEntry manifest, TierAction action, List<ManagedElement> managedElements) Canonical constructor with validation and defensive copying. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themanagedElementsrecord component.manifest()Returns the value of themanifestrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PlannedEntry
public PlannedEntry(ManifestEntry manifest, TierAction action, List<ManagedElement> managedElements) Canonical constructor with validation and defensive copying.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
manifest
-
action
-
managedElements
Returns the value of themanagedElementsrecord component.- Returns:
- the value of the
managedElementsrecord component
-