@Validated
public interface JobKillServiceV4
| Modifier and Type | Method and Description |
|---|---|
void |
killJob(@NotBlank(message="No job id entered. Unable to kill job.") java.lang.String jobId,
@NotBlank(message="No reason provided.") java.lang.String reason)
Kill the job with the given id if possible.
|
void killJob(@NotBlank(message="No job id entered. Unable to kill job.")
@NotBlank(message="No job id entered. Unable to kill job.") java.lang.String jobId,
@NotBlank(message="No reason provided.")
@NotBlank(message="No reason provided.") java.lang.String reason)
throws com.netflix.genie.common.exceptions.GenieException
jobId - id of job to killreason - brief reason for requesting the job be killedcom.netflix.genie.common.exceptions.GenieException - if there is an error