Class JobProvisionModuleRestServiceImpl

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

    public class JobProvisionModuleRestServiceImpl
    extends org.ikasan.rest.client.ModuleRestService
    implements org.ikasan.spec.scheduled.job.service.JobProvisionModuleService
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String JOB_PROVISION_REMOVE_REST_URL  
      static java.lang.String JOB_PROVISION_REST_URL  
      • Fields inherited from class org.ikasan.rest.client.ModuleRestService

        basicToken, MODULE_REST_PASSWORD_PROPERTY, MODULE_REST_USERNAME_PROPERTY, restTemplate
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void provisionJobs​(java.lang.String contextUrl, org.ikasan.spec.scheduled.job.model.SchedulerJobWrapper jobs)  
      void removeJobsForContext​(java.lang.String contextUrl, java.lang.String contextName)  
      • 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

      • JOB_PROVISION_REST_URL

        public static final java.lang.String JOB_PROVISION_REST_URL
        See Also:
        Constant Field Values
      • JOB_PROVISION_REMOVE_REST_URL

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

      • JobProvisionModuleRestServiceImpl

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

      • provisionJobs

        public void provisionJobs​(java.lang.String contextUrl,
                                  org.ikasan.spec.scheduled.job.model.SchedulerJobWrapper jobs)
        Specified by:
        provisionJobs in interface org.ikasan.spec.scheduled.job.service.JobProvisionModuleService
      • removeJobsForContext

        public void removeJobsForContext​(java.lang.String contextUrl,
                                         java.lang.String contextName)
        Specified by:
        removeJobsForContext in interface org.ikasan.spec.scheduled.job.service.JobProvisionModuleService