Project Graylog2/graylog2-server in file ...rc.main.java.org.graylog2.inputs.InputService.java (2014-11-17)
@@ -25,6 +25,7 @@ import org.graylog2.plugin.inputs.MessageInput;
 import org.graylog2.shared.inputs.NoSuchInputTypeException;
 
 import java.util.List;
+import java.util.Map;
 
 /**
  * @author Dennis Oelkers <dennis@torch.sh>
@@ -34,6 +35,8 @@ public interface InputService extends PersistedService {
 
     List<Input> allOfRadio(Node radio);
 
+    Input create(Map<String, Object> fields);
+
     Input find(String id) throws NotFoundException;
 
     Input findForThisNode(String nodeId, String id) throws NotFoundException;