com.atlassian.sal.api.scheduling
Interface PluginJob


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(java.util.Map<java.lang.String,java.lang.Object> jobDataMap)
          Execute this job
 

Method Detail

execute

void execute(java.util.Map<java.lang.String,java.lang.Object> jobDataMap)
Execute this job

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


Copyright © 2009 Atlassian. All Rights Reserved.