new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive/Kubernetes.java
public static boolean deleteJob(String namespace, String name) {

    KubernetesApiResponse<V1Job> response = jobClient.delete(namespace, name);

    if (!response.isSuccess()) {
      getLogger().warning("Failed to delete job '" + name + "' from namespace: "
              + namespace + " with HTTP status code: " + response.getHttpStatusCode());
      return false;
    }

    if (response.getObject() != null) {
      getLogger().info(
              "Received after-deletion status of the requested object, will be deleting "
                      + "job in background!");
    }

    return true;
  }
/**
   * Delete a job.
   *
   * @param namespace name of the namespace
   * @param name name of the job
   * @return true if delete was successful
   * @throws ApiException when deletion of job fails
   */
Delete a job.
@param namespace name of the namespace
@param name name of the job
@return true if delete was successful
@throws ApiException when deletion of job fails
Delete a job . @param namespace name of the namespace @param name name of the job @return true if delete was successful @throws ApiException when deletion of job fails
public static boolean deleteJob(String namespace, String name) {
    KubernetesApiResponse<V1Job> response = jobClient.delete(namespace, name);
    if (!response.isSuccess()) {
      getLogger().warning("Failed to delete job '" + name + "' from namespace: "
              + namespace + " with HTTP status code: " + response.getHttpStatusCode());
      return false;
    }
    if (response.getObject() != null) {
      getLogger().info(
              "Received after-deletion status of the requested object, will be deleting "
                      + "job in background!");
    }
    return true;
  }
public static boolean deleteJob ( String namespace , String name ) { KubernetesApiResponse < V1Job > response = jobClient . delete ( namespace , name ) ; if ( ! response . isSuccess ( ) ) { getLogger ( ) . warning ( "Failed to delete job '" + name + "' from namespace: " + namespace + " with HTTP status code: " + response . getHttpStatusCode ( ) ) ; return false ; } if ( response . getObject ( ) != null ) { getLogger ( ) . info ( "Received after-deletion status of the requested object, will be deleting " + "job in background!" ) ; } return true ; }
Delete a job.
Delete a job .