info.magnolia.module.exchangesimple
Class ExchangeTask
java.lang.Object
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$
Method Summary |
void |
run()
|
abstract void |
runTask(info.magnolia.cms.exchange.Subscriber subscriber)
|
void |
setErrors(List<Exception> errors)
|
void |
setSubscriber(info.magnolia.cms.exchange.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 |
ExchangeTask
public ExchangeTask()
setSync
public void setSync(EDU.oswego.cs.dl.util.concurrent.Sync sync)
setErrors
public void setErrors(List<Exception> errors)
setSubscriber
public void setSubscriber(info.magnolia.cms.exchange.Subscriber subscriber)
run
public void run()
- Specified by:
run
in interface Runnable
runTask
public abstract void runTask(info.magnolia.cms.exchange.Subscriber subscriber)
throws info.magnolia.cms.exchange.ExchangeException
- Throws:
info.magnolia.cms.exchange.ExchangeException
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.