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 TypeMethodDescriptionvoidfire()Must be implemented.getEntry()@Nullable HasIconURLbooleandoubledoubletoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
timeUntilin interfaceTimelineProcessor.UpcomingAction
-
timeUntilTimelineEntry
public double timeUntilTimelineEntry() -
getEstimatedRemainingDuration
- Specified by:
getEstimatedRemainingDurationin interfaceHasDuration- Returns:
- The elapsed duration. Note that this takes
HasDuration.getEffectiveTimeSince()into account, so it will respect fake time sources.
-
getEstimatedTimeSinceExpiry
- Specified by:
getEstimatedTimeSinceExpiryin 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:
getInitialDurationin interfaceHasDuration- Returns:
- The initial duration at the time of the event happening.
-
getEffectiveTimeSince
Description copied from interface:HasDurationMust be implemented.- Specified by:
getEffectiveTimeSincein interfaceHasDuration- Returns:
- The time since this event has occurred.
-
getEntry
-
getIconUrl
- Specified by:
getIconUrlin interfaceHasOptionalIconURL
-
fire
public void fire()- Specified by:
firein interfaceTimelineProcessor.UpcomingAction
-
toString
-