org.axonframework.eventhandling.scheduling.java
Class SimpleScheduleToken

java.lang.Object
  extended by org.axonframework.eventhandling.scheduling.java.SimpleScheduleToken
All Implemented Interfaces:
Serializable, ScheduleToken

public class SimpleScheduleToken
extends Object
implements ScheduleToken

ScheduleToken for tasks event scheduled using the SimpleEventScheduler.

Since:
0.7
Author:
Allard Buijze
See Also:
Serialized Form

Constructor Summary
SimpleScheduleToken(String tokenId)
          Creates a SimpleScheduleToken with the given tokenId.
 
Method Summary
 String getTokenId()
          Returns the identifier of the scheduled task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleScheduleToken

public SimpleScheduleToken(String tokenId)
Creates a SimpleScheduleToken with the given tokenId.

Parameters:
tokenId - The identifier referencing the scheduled task.
Method Detail

getTokenId

public String getTokenId()
Returns the identifier of the scheduled task.

Returns:
the identifier of the scheduled task


Copyright © 2010-2016. All Rights Reserved.