TimelineBuilders.TimelineEntry

Added in 1.0.0
Deprecated in 1.2.0

public final class TimelineBuilders.TimelineEntry


One piece of renderable content along with the time that it is valid for.

Summary

Nested types

This class is deprecated. Deprecated in Java

Public methods

static @NonNull TimelineBuilders.TimelineEntry

This method is deprecated. Deprecated in Java

@Nullable LayoutElementBuilders.Layout

This method is deprecated. Deprecated in Java

@Nullable TimelineBuilders.TimeInterval

This method is deprecated. Deprecated in Java

Public methods

fromLayoutElement

Added in 1.1.0
Deprecated in 1.2.0
public static @NonNull TimelineBuilders.TimelineEntry fromLayoutElement(
    @NonNull LayoutElementBuilders.LayoutElement layoutElement
)

Returns the TimelineEntry object containing the given layout element.

getLayout

Added in 1.0.0
Deprecated in 1.2.0
public @Nullable LayoutElementBuilders.Layout getLayout()

Gets the contents of this timeline entry. Intended for testing purposes only.

getValidity

Added in 1.0.0
Deprecated in 1.2.0
public @Nullable TimelineBuilders.TimeInterval getValidity()

Gets the validity period for this timeline entry. Intended for testing purposes only.