Class GitPollJob
Object
AbstractBatchService
GitPollJob
- All Implemented Interfaces:
Job
@Component
@DisallowConcurrentExecution
public class GitPollJob
extends AbstractBatchService
implements Job
Quartz job that periodically polls the Git content repository for changes.
Used by Vitruvio instances that can't receive webhooks (behind firewalls).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(JobExecutionContext context) voidsetGitSyncService(GitSyncService gitSyncService) Methods inherited from class AbstractBatchService
isEnabled
-
Constructor Details
-
GitPollJob
public GitPollJob()
-
-
Method Details
-
setGitSyncService
-
execute
public void execute(JobExecutionContext context) throws JobExecutionException - Specified by:
executein interfaceJob- Throws:
JobExecutionException
-