com.googlecode.lightest.core
Class SimpleTaskDispatchStrategy

java.lang.Object
  extended by com.googlecode.lightest.core.SimpleTaskDispatchStrategy
All Implemented Interfaces:
ITaskDispatchStrategy, groovy.lang.GroovyObject

public class SimpleTaskDispatchStrategy
extends Object
implements groovy.lang.GroovyObject, ITaskDispatchStrategy


Constructor Summary
SimpleTaskDispatchStrategy()
           
 
Method Summary
 ITaskResult dispatch(ITask task)
          At the very least, calls the perform() method on the task.
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String name)
           
 Object invokeMethod(String name, Object args)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setProperty(String name, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTaskDispatchStrategy

public SimpleTaskDispatchStrategy()
Method Detail

dispatch

public ITaskResult dispatch(ITask task)
Description copied from interface: ITaskDispatchStrategy
At the very least, calls the perform() method on the task.

Specified by:
dispatch in interface ITaskDispatchStrategy

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass metaClass)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String name,
                           Object args)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String name)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String name,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject


Copyright © 2009. All Rights Reserved.