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