View Javadoc

1   package net.sourceforge.basher.example.tasks;
2   
3   import java.util.ArrayList;
4   import java.util.Arrays;
5   import java.util.Collections;
6   import java.util.List;
7   
8   import net.sourceforge.basher.Task;
9   import net.sourceforge.basher.TaskProvider;
10  import net.sourceforge.basher.impl.TaskContribution;
11  
12  /**
13   * @author Johan Lindquist
14   */
15  public class SimpleTaskProvider implements TaskProvider
16  {
17      public List<TaskContribution> getTaskContributions()
18      {
19          return new ArrayList<TaskContribution>( );
20      }
21  
22      public List<Class> getTaskClasses()
23      {
24          final ArrayList<Class> classes = new ArrayList<Class>();
25          classes.add( PlainClassTask.class );
26          return classes;
27      }
28  }