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
 java.util.List<java.lang.Class> getTaskClasses()
          Retrives the list of classes to be used as Task instances.
 java.util.List<TaskContribution> getTaskContributions()
          Retrieves the tasks loaded through this TaskProvider.
 

Method Detail

getTaskContributions

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

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

getTaskClasses

java.util.List<java.lang.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.