Package gg.xp.xivsupport.timelines
Class TimelineProcessor.UpcomingTrigger
java.lang.Object
gg.xp.xivsupport.timelines.TimelineProcessor.UpcomingTrigger
- All Implemented Interfaces:
HasOptionalIconURL
,HasDuration
,TimelineProcessor.UpcomingAction
- Enclosing class:
- TimelineProcessor
public class TimelineProcessor.UpcomingTrigger
extends Object
implements TimelineProcessor.UpcomingAction, HasDuration, HasOptionalIconURL
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fire()
Must be implemented.getEntry()
@Nullable HasIconURL
boolean
double
double
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface gg.xp.xivsupport.events.actlines.events.HasDuration
getEstimatedElapsedDuration, isIndefinite, remainingDurationPlus, wouldBeExpired
-
Method Details
-
isPreCall
public boolean isPreCall() -
timeUntil
public double timeUntil()- Specified by:
timeUntil
in interfaceTimelineProcessor.UpcomingAction
-
timeUntilTimelineEntry
public double timeUntilTimelineEntry() -
getEstimatedRemainingDuration
- Specified by:
getEstimatedRemainingDuration
in interfaceHasDuration
- Returns:
- The elapsed duration. Note that this takes
HasDuration.getEffectiveTimeSince()
into account, so it will respect fake time sources.
-
getEstimatedTimeSinceExpiry
- Specified by:
getEstimatedTimeSinceExpiry
in interfaceHasDuration
- Returns:
- The time between the current time, and when the duration should have expired. If called before expiry time, behavior is undefined.
-
getInitialDuration
- Specified by:
getInitialDuration
in interfaceHasDuration
- Returns:
- The initial duration at the time of the event happening.
-
getEffectiveTimeSince
Description copied from interface:HasDuration
Must be implemented.- Specified by:
getEffectiveTimeSince
in interfaceHasDuration
- Returns:
- The time since this event has occurred.
-
getEntry
-
getIconUrl
- Specified by:
getIconUrl
in interfaceHasOptionalIconURL
-
fire
public void fire()- Specified by:
fire
in interfaceTimelineProcessor.UpcomingAction
-
toString
-