Package cdc.issues

Interface Snapshot

All Superinterfaces:
LabelsItem, MetasItem
All Known Implementing Classes:
SnapshotImpl

public interface Snapshot extends MetasItem, LabelsItem
Interface describing a snapshot.
Author:
Damien Carbonne
  • Method Details

    • getProject

      Optional<Project> getProject()
      Returns:
      The project to which this snapshot belongs.
    • getTimestamp

      Instant getTimestamp()
      Returns:
      The timestamp of this snapshot.
    • getName

      String getName()
      Returns:
      The name of this snapshot.
    • getDescription

      String getDescription()
      Returns:
      The description of this snapshot.
    • getIssues

      List<Issue> getIssues()
      Returns:
      The issues of this snapshot.
    • getIssuesHash

      default String getIssuesHash()
      Returns:
      The issues hash.
    • builder

      static Snapshot.Builder builder(Project project)
    • builder

      static Snapshot.Builder builder()