Merge branch 'master' of https://git.loafle.net/overflow/commons-java
This commit is contained in:
commit
824f789158
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user