org.axonframework.test.eventscheduler
Interface ScheduledItem

All Known Implementing Classes:
StubScheduleToken

public interface ScheduledItem

Interface describing an event to be scheduled at a given date and time.

Since:
1.1
Author:
Allard Buijze

Method Summary
 org.axonframework.domain.EventMessage getEvent()
          The Event scheduled for publication.
 org.joda.time.DateTime getScheduleTime()
          The time the event was scheduled for publication.
 

Method Detail

getScheduleTime

org.joda.time.DateTime getScheduleTime()
The time the event was scheduled for publication.

Returns:
time the event was scheduled for publication

getEvent

org.axonframework.domain.EventMessage getEvent()
The Event scheduled for publication.

Returns:
the Event scheduled for publication


Copyright © 2010-2016. All Rights Reserved.