added targetservice interface method
This commit is contained in:
parent
ec87d642ec
commit
c944ee2be7
|
@ -2,6 +2,7 @@ package com.loafle.overflow.service.central.target;
|
||||||
|
|
||||||
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.probe.Probe;
|
||||||
import com.loafle.overflow.model.target.Target;
|
import com.loafle.overflow.model.target.Target;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -14,4 +15,9 @@ public interface TargetService {
|
||||||
Target read(String id) throws OverflowException;
|
Target read(String id) throws OverflowException;
|
||||||
@WebappAPI
|
@WebappAPI
|
||||||
void remove(Target target) throws OverflowException;
|
void remove(Target target) throws OverflowException;
|
||||||
|
|
||||||
|
@WebappAPI
|
||||||
|
public Target regist(Target target, Probe probe) throws OverflowException;
|
||||||
|
@WebappAPI
|
||||||
|
public Target remove(Target target, Probe probe) throws OverflowException;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user