public class PanoramaDiscussionsModule extends AbstractAnnotatedModule
{
@Contribution( configurationId="panorama.startup.tasks" )
public void contributeTaks(List<Task> tasks)
{
Task discussionStartupTask = new Task();
ExecuteStatic executable = new ExecuteStatic();
executable.setTargetClass(DiscussionsStartup.class);
discussionStartupTask.setExecutable(executable);
discussionStartupTask.setId("discussions");
discussionStartupTask.setTitle("Discussions");
tasks.add(discussionStartupTask);
}