Package org.craftercms.engine.scripting
Interface ScriptJobResolver
-
- All Known Implementing Classes:
ConfigurationScriptJobResolver
,FolderBasedScriptJobResolver
public interface ScriptJobResolver
Resolves any number of script jobs to be scheduled and executed.- Author:
- avasquez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<JobContext>
resolveJobs(SiteContext siteContext)
Resolves any number of script jobs to be scheduled and executed.
-
-
-
Method Detail
-
resolveJobs
List<JobContext> resolveJobs(SiteContext siteContext) throws SchedulingException
Resolves any number of script jobs to be scheduled and executed.- Parameters:
siteContext
- the context used to look up for the scripts- Returns:
- the details of the jobs to be scheduled
- Throws:
SchedulingException
-
-