info.magnolia.module.exchangesimple
Class ExchangeTask

java.lang.Object
  extended by info.magnolia.module.exchangesimple.ExchangeTask
All Implemented Interfaces:
Runnable

public abstract class ExchangeTask
extends Object
implements Runnable

Simple activation task - currently only to either activate or deactivate content.

Version:
$Id$

Constructor Summary
ExchangeTask()
           
 
Method Summary
 void run()
           
abstract  void runTask(Subscriber subscriber)
           
 void setErrors(List<Exception> errors)
           
 void setSubscriber(Subscriber subscriber)
           
 void setSync(EDU.oswego.cs.dl.util.concurrent.Sync sync)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExchangeTask

public ExchangeTask()
Method Detail

setSync

public void setSync(EDU.oswego.cs.dl.util.concurrent.Sync sync)

setErrors

public void setErrors(List<Exception> errors)

setSubscriber

public void setSubscriber(Subscriber subscriber)

run

public void run()
Specified by:
run in interface Runnable

runTask

public abstract void runTask(Subscriber subscriber)
                      throws ExchangeException
Throws:
ExchangeException


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.