Class JobInitiationServiceImpl

  • All Implemented Interfaces:
    org.ikasan.spec.scheduled.job.service.JobInitiationService

    public class JobInitiationServiceImpl
    extends org.ikasan.rest.client.ModuleRestService
    implements org.ikasan.spec.scheduled.job.service.JobInitiationService
    • Constructor Summary

      Constructors 
      Constructor Description
      JobInitiationServiceImpl​(org.springframework.core.env.Environment environment, org.springframework.http.client.HttpComponentsClientHttpRequestFactory httpComponentsClientHttpRequestFactory, int fileJobSubmissionWaitTimeSeconds)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void raiseFileEventSchedulerJob​(java.lang.String contextUrl, java.lang.String agentName, org.ikasan.spec.scheduled.job.model.SchedulerJob job, java.lang.String correlationId)  
      void raiseQuartzSchedulerJob​(java.lang.String contextUrl, java.lang.String agentName, org.ikasan.spec.scheduled.job.model.SchedulerJob job, java.lang.String correlationId)  
      void raiseSchedulerJobInitiationEvent​(java.lang.String contextUrl, org.ikasan.spec.scheduled.event.model.SchedulerJobInitiationEvent event)  
      • Methods inherited from class org.ikasan.rest.client.ModuleRestService

        createHttpHeaders
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SCHEDULER_JOB_INITIATION_URL

        public static final java.lang.String SCHEDULER_JOB_INITIATION_URL
        See Also:
        Constant Field Values
      • FLOW_SCHEDULE_FIRE_NOW_URL

        public static final java.lang.String FLOW_SCHEDULE_FIRE_NOW_URL
        See Also:
        Constant Field Values
      • JOB_DRY_RUN_MODE_URL

        public static final java.lang.String JOB_DRY_RUN_MODE_URL
        See Also:
        Constant Field Values
    • Constructor Detail

      • JobInitiationServiceImpl

        public JobInitiationServiceImpl​(org.springframework.core.env.Environment environment,
                                        org.springframework.http.client.HttpComponentsClientHttpRequestFactory httpComponentsClientHttpRequestFactory,
                                        int fileJobSubmissionWaitTimeSeconds)
    • Method Detail

      • raiseSchedulerJobInitiationEvent

        public void raiseSchedulerJobInitiationEvent​(java.lang.String contextUrl,
                                                     org.ikasan.spec.scheduled.event.model.SchedulerJobInitiationEvent event)
        Specified by:
        raiseSchedulerJobInitiationEvent in interface org.ikasan.spec.scheduled.job.service.JobInitiationService
      • raiseQuartzSchedulerJob

        public void raiseQuartzSchedulerJob​(java.lang.String contextUrl,
                                            java.lang.String agentName,
                                            org.ikasan.spec.scheduled.job.model.SchedulerJob job,
                                            java.lang.String correlationId)
        Specified by:
        raiseQuartzSchedulerJob in interface org.ikasan.spec.scheduled.job.service.JobInitiationService
      • raiseFileEventSchedulerJob

        public void raiseFileEventSchedulerJob​(java.lang.String contextUrl,
                                               java.lang.String agentName,
                                               org.ikasan.spec.scheduled.job.model.SchedulerJob job,
                                               java.lang.String correlationId)
        Specified by:
        raiseFileEventSchedulerJob in interface org.ikasan.spec.scheduled.job.service.JobInitiationService