public class SiteIndexerSchedulable extends AbstractStaticSchedulable
Schedulable
job for indexing a site.AbstractStaticSchedulable.SchedulableParameterParser
Modifier and Type | Field and Description |
---|---|
private static String |
__JOBDATAMAP_SITE_KEY |
protected JSONUtils |
_jsonUtils
The utils for JSON
|
protected SiteIndexer |
_siteIndexer
The
|
protected SiteManager |
_siteManager
The site amanger
|
protected static String |
JOBDATAMAP_SITE_KEY
The key for the site to rebuild the live workspace
|
_acceptConcurrentExecution, _context, _description, _iconGlyph, _iconLarge, _iconMedium, _iconSmall, _id, _label, _parameters, _pluginName, _private, _smanager
Constructor and Description |
---|
SiteIndexerSchedulable() |
Modifier and Type | Method and Description |
---|---|
private Site |
_getSite(String siteAsMap) |
void |
execute(JobExecutionContext context)
The action to perform when a trigger is fired.
|
void |
service(ServiceManager manager) |
acceptConcurrentExecution, configure, contextualize, getDescription, getIconGlyph, getIconLarge, getIconMedium, getIconSmall, getId, getLabel, getParameters, isPrivate, setPluginInfo
getLogger, setLogger
protected static final String JOBDATAMAP_SITE_KEY
private static final String __JOBDATAMAP_SITE_KEY
protected SiteManager _siteManager
protected JSONUtils _jsonUtils
protected SiteIndexer _siteIndexer
public SiteIndexerSchedulable()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AbstractStaticSchedulable
ServiceException
public void execute(JobExecutionContext context) throws Exception
Schedulable
execute
in interface Schedulable
execute
in class AbstractStaticSchedulable
context
- the contextException
- if an error occured