livespace.services
Class PropertyChangeTask

java.lang.Object
  extended by dsto.dfc.util.Scheduler.Task
      extended by livespace.services.PropertyChangeTask
All Implemented Interfaces:
Runnable

public class PropertyChangeTask
extends Scheduler.Task

Helper task to used to schedule a property change on an IDataObject instance.

Author:
KarunarD
See Also:
Scheduler

Field Summary
 
Fields inherited from class dsto.dfc.util.Scheduler.Task
runAt, scheduler
 
Constructor Summary
PropertyChangeTask(Object mutex, IDataObject object, Object property, Object value)
          Changes the value of property contained by an IDataObject instance.
 
Method Summary
 void run()
          Run method performs object.setValue(property, value).
 
Methods inherited from class dsto.dfc.util.Scheduler.Task
dispose, scheduled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyChangeTask

public PropertyChangeTask(Object mutex,
                          IDataObject object,
                          Object property,
                          Object value)
Changes the value of property contained by an IDataObject instance.

Parameters:
mutex - Use the livespace mutex
object - The object which contains the property
property - The property to change
value - The new value
Method Detail

run

public void run()
Run method performs object.setValue(property, value).

Specified by:
run in interface Runnable
Specified by:
run in class Scheduler.Task


Copyright © 2008 Commonwealth of Australia