net.sourceforge.basher
Interface TaskProvider


public interface TaskProvider

Provider of tasks to the Basher runtime. Allows services to be defined outside of Gaderian and 'provided' into the Basher runtime in one single operation.

Author:
Johan Lindquist

Method Summary
 List<Class> getTaskClasses()
          Retrives the list of classes to be used as Task instances.
 List<TaskContribution> getTaskContributions()
          Retrieves the tasks loaded through this TaskProvider.
 

Method Detail

getTaskContributions

List<TaskContribution> getTaskContributions()
Retrieves the tasks loaded through this TaskProvider.

Returns:
The list of TaskContribution instances loaded through this TaskProvider.

getTaskClasses

List<Class> getTaskClasses()
Retrives the list of classes to be used as Task instances. These may be both annotated and/or non-annotated classes.

Returns:
List of classes to be used as Task instances.


Copyright © 2006-2010 Basher Team. All Rights Reserved.