Class JobService


  • public class JobService
    extends java.lang.Object
    • Constructor Detail

      • JobService

        public JobService​(com.synopsys.integration.log.IntLogger logger,
                          PolarisService polarisService)
    • Method Detail

      • getJobByUrl

        public PolarisResource<JobAttributes> getJobByUrl​(com.synopsys.integration.rest.HttpUrl jobApiUrl)
                                                   throws com.synopsys.integration.exception.IntegrationException
        Throws:
        com.synopsys.integration.exception.IntegrationException
      • waitForJobStateIsCompletedOrDieByUrl

        public void waitForJobStateIsCompletedOrDieByUrl​(com.synopsys.integration.rest.HttpUrl jobApiUrl,
                                                         long timeoutInSeconds,
                                                         int waitIntervalInSeconds)
                                                  throws com.synopsys.integration.exception.IntegrationException,
                                                         java.lang.InterruptedException
        Throws:
        com.synopsys.integration.exception.IntegrationException
        java.lang.InterruptedException