From c944ee2be7d27e0a8d63332e4ba41069294295a1 Mon Sep 17 00:00:00 2001 From: insanity Date: Fri, 27 Apr 2018 14:33:04 +0900 Subject: [PATCH] added targetservice interface method --- .../overflow/service/central/target/TargetService.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/com/loafle/overflow/service/central/target/TargetService.java b/src/main/java/com/loafle/overflow/service/central/target/TargetService.java index 9412c8f..129051f 100644 --- a/src/main/java/com/loafle/overflow/service/central/target/TargetService.java +++ b/src/main/java/com/loafle/overflow/service/central/target/TargetService.java @@ -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; }