All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstack4j.api.sahara.JobService Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package org.openstack4j.api.sahara;

import java.util.List;

import org.openstack4j.common.RestService;
import org.openstack4j.model.common.ActionResponse;
import org.openstack4j.model.sahara.Job;
import org.openstack4j.model.sahara.JobConfigHint;

/**
 * Sahara Data Processing Operations
 *
 * @author [email protected]
 */
public interface JobService extends RestService {

    /**
     * List all jobs
     * 
     * @return list of jobs or empty
     */
     List list();

    /**
     * Get a job by ID
     * @param JobId the job identifier
     * @return the job or null if not found
     */
     Job get(String JobId);

    /**
     * Create a new job
     *
     * @param jobBinary the job to create
     * @return the created job
     */
     Job create(Job jobBinary);

    /**
     * Delete the specified job
     * 
     * @param JobId the job identifier
     * @return the action response
     */
     ActionResponse delete(String JobId);

     /**
      * Get Job Configuration Hints
      * 
      * @param type the job type
      * @return the job configuration hints
      */
     JobConfigHint getConfigHint(String type);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy