Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.graylog2.restroutes.generated;
 
 
 public class StreamAlertConditionResource {
 
 
     public PathMethod list(String streamId) {
        return new PathMethod("GET""/streams/"+streamId+"/alerts/conditions");
    }
    public PathMethod delete(String streamIdString conditionId) {
        return new PathMethod("DELETE""/streams/"+streamId+"/alerts/conditions/"+conditionId+"");
    }
    public PathMethod create(String streamId) {
        return new PathMethod("POST""/streams/"+streamId+"/alerts/conditions");
    }
    public PathMethod update(String streamIdString conditionId) {
        return new PathMethod("PUT""/streams/"+streamId+"/alerts/conditions/"+conditionId+"");
    }
New to GrepCode? Check out our FAQ X