Class JobUtilsServiceImpl

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

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

      Fields 
      Modifier and Type Field Description
      static java.lang.String KILL_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
      JobUtilsServiceImpl​(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 killJob​(java.lang.String contextUrl, long pid, boolean forcibly)  
      • 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
    • Constructor Detail

      • JobUtilsServiceImpl

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

      • killJob

        public void killJob​(java.lang.String contextUrl,
                            long pid,
                            boolean forcibly)
        Specified by:
        killJob in interface org.ikasan.spec.scheduled.job.service.JobUtilsService