
org.graylog2.restroutes.generated.SystemJobResource Maven / Gradle / Ivy
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");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy