This commit is contained in:
crusader 2018-04-24 22:19:01 +09:00
parent 0c640ad178
commit 16335dc1cc
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,16 @@
package com.loafle.overflow.service.container;
import java.util.Map;
import com.loafle.overflow.core.annotation.ProbeAPI;
import com.loafle.overflow.core.exception.OverflowException;
/**
* CrawlerService
*/
public interface CrawlerService {
@ProbeAPI
void Auth(String crawlerName, Map<String, Object> authInfoMap) throws OverflowException;
@ProbeAPI
Map<String, String> Get(String sensorConfigID) throws OverflowException;
}

View File

@ -0,0 +1,7 @@
package com.loafle.overflow.service.container;
/**
* ProbeService
*/
public interface ProbeService {
}

View File

@ -0,0 +1,21 @@
package com.loafle.overflow.service.container;
import java.util.List;
import com.loafle.overflow.core.annotation.ProbeAPI;
import com.loafle.overflow.core.exception.OverflowException;
import com.loafle.overflow.model.sensorconfig.SensorConfig;
/**
* SensorConfigService
*/
public interface SensorConfigService {
@ProbeAPI
void InitConfig(List<SensorConfig> sensorConfigs) throws OverflowException;
@ProbeAPI
void AddConfig(SensorConfig sensorConfig) throws OverflowException;
@ProbeAPI
void UpdateConfig(SensorConfig sensorConfig) throws OverflowException;
@ProbeAPI
void RemoveConfig(String configID) throws OverflowException;
}