com.atlassian.sal.api.scheduling
Interface PluginJob

All Known Implementing Classes:
PluginSchedulerTest.TestJob

public interface PluginJob

A job to be executed by the PluginScheduler.

Implementations of this class should not store local data, as a new instance of the job is instantiated for each execution.

Implementations of this class should also provide a default constructor with no arguments as not all job engines support constructor injection.

Since:
2.0

Method Summary
 void execute(Map<String,Object> jobDataMap)
          Execute this job
 

Method Detail

execute

void execute(Map<String,Object> jobDataMap)
Execute this job

Parameters:
jobDataMap - Any data the job needs to execute. Changes to this data will be remembered between executions.


Copyright © 2010 Atlassian. All Rights Reserved.