Package cdc.issues

Class SnapshotImpl

java.lang.Object
cdc.issues.SnapshotImpl
All Implemented Interfaces:
LabelsItem, MetasItem, Snapshot

class SnapshotImpl extends Object implements Snapshot
  • Field Details

  • Constructor Details

  • Method Details

    • getProject

      public Optional<Project> getProject()
      Specified by:
      getProject in interface Snapshot
      Returns:
      The project to which this snapshot belongs.
    • getTimestamp

      public Instant getTimestamp()
      Specified by:
      getTimestamp in interface Snapshot
      Returns:
      The timestamp of this snapshot.
    • getName

      public String getName()
      Specified by:
      getName in interface Snapshot
      Returns:
      The name of this snapshot.
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface Snapshot
      Returns:
      The description of this snapshot.
    • getMetas

      public Metas getMetas()
      Specified by:
      getMetas in interface MetasItem
      Returns:
      The metas associated to this item.
    • getLabels

      public Labels getLabels()
      Specified by:
      getLabels in interface LabelsItem
      Returns:
      The labels associated to this item.
    • getIssues

      public List<Issue> getIssues()
      Specified by:
      getIssues in interface Snapshot
      Returns:
      The issues of this snapshot.
    • getIssuesHash

      public String getIssuesHash()
      Specified by:
      getIssuesHash in interface Snapshot
      Returns:
      The issues hash.