org.quartz.core
Class SchedulingContext

java.lang.Object
  extended by org.quartz.core.SchedulingContext
All Implemented Interfaces:
Serializable

public class SchedulingContext
extends Object
implements Serializable

An object used to pass information about the 'client' to the QuartzScheduler.

Author:
James House
See Also:
QuartzScheduler, Serialized Form

Constructor Summary
SchedulingContext()
           Construct a SchedulingContext with default values.
SchedulingContext(String instanceId)
           Construct a SchedulingContext with the given instanceId.
 
Method Summary
 String getInstanceId()
           get the instanceId in the cluster.
 void setInstanceId(String instanceId)
           Set the instanceId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchedulingContext

public SchedulingContext()

Construct a SchedulingContext with default values.


SchedulingContext

public SchedulingContext(String instanceId)

Construct a SchedulingContext with the given instanceId.

Method Detail

getInstanceId

public String getInstanceId()

get the instanceId in the cluster.


setInstanceId

public void setInstanceId(String instanceId)

Set the instanceId.



Copyright 2001-2010, Terracotta, Inc.