This commit is contained in:
crusader 2018-04-23 19:27:54 +09:00
parent e966fdbb31
commit e4b97f452e

View File

@ -2,6 +2,7 @@ package com.loafle.overflow.crawler;
import java.util.Map; import java.util.Map;
import com.loafle.overflow.module.core.exception.OverflowException;
import com.loafle.overflow.module.sensorconfig.model.SensorConfig; import com.loafle.overflow.module.sensorconfig.model.SensorConfig;
/** /**
@ -10,6 +11,6 @@ import com.loafle.overflow.module.sensorconfig.model.SensorConfig;
public interface Crawler { public interface Crawler {
String name(); String name();
String toString(); String toString();
void auth(Map<String, Object> authInfo); void auth(Map<String, Object> authInfo) throws OverflowException;
Map<String, String> get(SensorConfig sensorConfig); Map<String, String> get(SensorConfig sensorConfig) throws OverflowException;
} }