Class JobInitiationServiceImpl
java.lang.Object
org.ikasan.rest.client.ModuleRestService
org.ikasan.job.orchestration.rest.client.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
-
Field Summary
FieldsFields inherited from class org.ikasan.rest.client.ModuleRestService
basicToken, MODULE_REST_PASSWORD_PROPERTY, MODULE_REST_USERNAME_PROPERTY, restTemplate -
Constructor Summary
ConstructorsConstructorDescriptionJobInitiationServiceImpl(org.springframework.core.env.Environment environment, org.springframework.http.client.HttpComponentsClientHttpRequestFactory httpComponentsClientHttpRequestFactory, int fileJobSubmissionWaitTimeSeconds) -
Method Summary
Modifier and TypeMethodDescriptionvoidraiseFileEventSchedulerJob(String contextUrl, String agentName, org.ikasan.spec.scheduled.job.model.SchedulerJob job, String correlationId) voidraiseQuartzSchedulerJob(String contextUrl, String agentName, org.ikasan.spec.scheduled.job.model.SchedulerJob job, String correlationId) voidraiseSchedulerJobInitiationEvent(String contextUrl, org.ikasan.spec.scheduled.event.model.SchedulerJobInitiationEvent event) Methods inherited from class org.ikasan.rest.client.ModuleRestService
createHttpHeaders
-
Field Details
-
SCHEDULER_JOB_INITIATION_URL
- See Also:
-
FLOW_SCHEDULE_FIRE_NOW_URL
- See Also:
-
JOB_DRY_RUN_MODE_URL
- See Also:
-
-
Constructor Details
-
JobInitiationServiceImpl
public JobInitiationServiceImpl(org.springframework.core.env.Environment environment, org.springframework.http.client.HttpComponentsClientHttpRequestFactory httpComponentsClientHttpRequestFactory, int fileJobSubmissionWaitTimeSeconds)
-
-
Method Details
-
raiseSchedulerJobInitiationEvent
public void raiseSchedulerJobInitiationEvent(String contextUrl, org.ikasan.spec.scheduled.event.model.SchedulerJobInitiationEvent event) - Specified by:
raiseSchedulerJobInitiationEventin interfaceorg.ikasan.spec.scheduled.job.service.JobInitiationService
-
raiseQuartzSchedulerJob
public void raiseQuartzSchedulerJob(String contextUrl, String agentName, org.ikasan.spec.scheduled.job.model.SchedulerJob job, String correlationId) - Specified by:
raiseQuartzSchedulerJobin interfaceorg.ikasan.spec.scheduled.job.service.JobInitiationService
-
raiseFileEventSchedulerJob
public void raiseFileEventSchedulerJob(String contextUrl, String agentName, org.ikasan.spec.scheduled.job.model.SchedulerJob job, String correlationId) - Specified by:
raiseFileEventSchedulerJobin interfaceorg.ikasan.spec.scheduled.job.service.JobInitiationService
-