Class StubScheduleToken
java.lang.Object
org.axonframework.test.eventscheduler.StubScheduleToken
- All Implemented Interfaces:
Serializable,Comparable<StubScheduleToken>,ScheduleToken,ScheduledItem
public class StubScheduleToken
extends Object
implements ScheduleToken, Comparable<StubScheduleToken>, ScheduledItem
ScheduleToken returned by the StubEventScheduler.
- Since:
- 1.1
- Author:
- Allard Buijze
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(StubScheduleToken other) booleangetEvent()The Event scheduled for publication.The time the event was scheduled for publication.inthashCode()
-
Method Details
-
getScheduleTime
Description copied from interface:ScheduledItemThe time the event was scheduled for publication.- Specified by:
getScheduleTimein interfaceScheduledItem- Returns:
- time the event was scheduled for publication
-
getEvent
Description copied from interface:ScheduledItemThe Event scheduled for publication.- Specified by:
getEventin interfaceScheduledItem- Returns:
- the Event scheduled for publication
-
compareTo
- Specified by:
compareToin interfaceComparable<StubScheduleToken>
-
equals
-
hashCode
public int hashCode()
-