This commit is contained in:
crusader 2018-06-05 20:21:39 +09:00
commit 824f789158

View File

@ -1,7 +1,11 @@
package com.loafle.overflow.service.central.target; package com.loafle.overflow.service.central.target;
import java.util.List;
import com.loafle.overflow.core.annotation.WebappAPI; import com.loafle.overflow.core.annotation.WebappAPI;
import com.loafle.overflow.core.exception.OverflowException; import com.loafle.overflow.core.exception.OverflowException;
import com.loafle.overflow.model.discovery.Host;
import com.loafle.overflow.model.discovery.Service;
import com.loafle.overflow.model.probe.Probe; import com.loafle.overflow.model.probe.Probe;
import com.loafle.overflow.model.target.Target; import com.loafle.overflow.model.target.Target;
@ -25,4 +29,8 @@ public interface TargetService {
@WebappAPI @WebappAPI
void remove(Target target) throws OverflowException; void remove(Target target) throws OverflowException;
@WebappAPI
public List<Target> registDiscoveredTargets(Long probeId, List<Host> hosts, List<Service> services)
throws OverflowException;
} }