org.graylog2.restroutes.generated.SystemJobResource Maven / Gradle / Ivy
The newest version!
package org.graylog2.restroutes.generated;
import org.graylog2.restroutes.PathMethod;
public class SystemJobResource {
public PathMethod get(String jobId) {
return new PathMethod("GET", "/system/jobs/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(jobId)+"");
}
public PathMethod trigger() {
return new PathMethod("POST", "/system/jobs");
}
public PathMethod list() {
return new PathMethod("GET", "/system/jobs");
}
}