probe modify
This commit is contained in:
parent
07f043f277
commit
88eda2b5e6
|
@ -17,8 +17,8 @@ public class ProbeService {
|
||||||
@Autowired
|
@Autowired
|
||||||
private ProbeDAO probeDAO;
|
private ProbeDAO probeDAO;
|
||||||
|
|
||||||
public void regist(Probe probe) {
|
public Probe regist(Probe probe) {
|
||||||
this.probeDAO.save(probe);
|
return this.probeDAO.save(probe);
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<Probe> readAllByDomain(Domain domain) {
|
public List<Probe> readAllByDomain(Domain domain) {
|
||||||
|
|
|
@ -17,8 +17,8 @@ public class ProbeTaskService {
|
||||||
@Autowired
|
@Autowired
|
||||||
private ProbeTaskDAO probeTaskDAO;
|
private ProbeTaskDAO probeTaskDAO;
|
||||||
|
|
||||||
public void regist(ProbeTask probeTask) {
|
public ProbeTask regist(ProbeTask probeTask) {
|
||||||
this.probeTaskDAO.save(probeTask);
|
return this.probeTaskDAO.save(probeTask);
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<ProbeTask> readAllByProbe(Probe probe) {
|
public List<ProbeTask> readAllByProbe(Probe probe) {
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
package com.loafle.overflow.module.probe.type;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by root on 17. 6. 23.
|
|
||||||
*/
|
|
||||||
public enum ProbeStatusType {
|
|
||||||
I("INITIAL"),
|
|
||||||
N("NORMAL");
|
|
||||||
|
|
||||||
|
|
||||||
private String stringValue;
|
|
||||||
ProbeStatusType(String string) {stringValue = string;}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String toString() {
|
|
||||||
return stringValue;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user