method added

This commit is contained in:
insanity 2018-06-05 20:07:22 +09:00
parent 1d3ae7c6a7
commit 0ecfeb7144

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;
} }