org.axonframework.eventhandling.scheduling.quartz
Class QuartzScheduleToken

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

public class QuartzScheduleToken
extends Object
implements ScheduleToken

ScheduleToken implementation representing a scheduled Quartz Job.

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

Constructor Summary
QuartzScheduleToken(String jobIdentifier, String groupIdentifier)
          Initialize a token for the given jobIdentifier and groupIdentifier.
 
Method Summary
 String getGroupIdentifier()
          Returns the Quartz group identifier.
 String getJobIdentifier()
          Returns the Quartz job identifier.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuartzScheduleToken

public QuartzScheduleToken(String jobIdentifier,
                           String groupIdentifier)
Initialize a token for the given jobIdentifier and groupIdentifier.

Parameters:
jobIdentifier - The identifier used when registering the job with quartz.
groupIdentifier - The identifier of the group the job is part of.
Method Detail

getJobIdentifier

public String getJobIdentifier()
Returns the Quartz job identifier.

Returns:
the Quartz job identifier

getGroupIdentifier

public String getGroupIdentifier()
Returns the Quartz group identifier.

Returns:
the Quartz group identifier

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010-2016. All Rights Reserved.