Record Class PlannedEntry

java.lang.Object
java.lang.Record
network.ike.plugin.scaffold.PlannedEntry
Record Components:
manifest - the manifest entry
action - the planned action
managedElements - per-element provenance for model-managed entries; never null. 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 Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • manifest

      public ManifestEntry manifest()
      Returns the value of the manifest record component.
      Returns:
      the value of the manifest record component
    • action

      public TierAction action()
      Returns the value of the action record component.
      Returns:
      the value of the action record component
    • managedElements

      public List<ManagedElement> managedElements()
      Returns the value of the managedElements record component.
      Returns:
      the value of the managedElements record component