added targetservice interface method

This commit is contained in:
insanity 2018-04-27 14:33:04 +09:00
parent ec87d642ec
commit c944ee2be7

View File

@ -2,6 +2,7 @@ package com.loafle.overflow.service.central.target;
import com.loafle.overflow.core.annotation.WebappAPI;
import com.loafle.overflow.core.exception.OverflowException;
import com.loafle.overflow.model.probe.Probe;
import com.loafle.overflow.model.target.Target;
/**
@ -14,4 +15,9 @@ public interface TargetService {
Target read(String id) throws OverflowException;
@WebappAPI
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;
}