Package io.strimzi.systemtest.utils.kubeUtils.controllers

## Class JobUtils

- java.lang.Object
- - io.strimzi.systemtest.utils.kubeUtils.controllers.JobUtils

-     public class JobUtils
      extends Object

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | `deleteJobWithWait​(String namespace, String name)` | Delete Job and wait for it's deletion
    `static void` | `waitForJobDeletion​(String name)` | Wait until the given Job has been deleted.
    `static void` | `waitForJobFailure​(String jobName, String namespace, long timeout)` | Wait for specific Job failure

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### waitForJobDeletion

          public static void waitForJobDeletion​(String name)

      Wait until the given Job has been deleted.
      Parameters:
        `name` - The name of the Job

    - #### deleteJobWithWait

          public static void deleteJobWithWait​(String namespace,
                                               String name)

      Delete Job and wait for it's deletion
      Parameters:
        `name` - name of the job

    - #### waitForJobFailure

          public static void waitForJobFailure​(String jobName,
                                               String namespace,
                                               long timeout)

      Wait for specific Job failure
      Parameters:
        `jobName` - job name
        `namespace` - namespace
        `timeout` - timeout after which we assume that job failed