Interface TimelineEntry

All Superinterfaces:
Comparable<TimelineEntry>

public interface TimelineEntry extends Comparable<TimelineEntry>
Definition for an entry in the timeline of the multi-perspective-preview.
Since:
5.1.107
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Factory for creation of TimelineEntry.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Revision
    Returns the associated revision of this timeline entry.
    @NotNull Date
    Returns the associated timestamp of this timeline entry.

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Method Details

    • getTimestamp

      @NotNull @NotNull Date getTimestamp()
      Returns the associated timestamp of this timeline entry.
      Returns:
      the timestamp.
      Since:
      5.1.107
    • getRevision

      @Nullable @Nullable Revision getRevision()
      Returns the associated revision of this timeline entry. The revision will be used for requesting the related preview.
      Returns:
      the revision, or null if not specified.
      Since:
      5.1.107