blob: 60b4ddb9a563de703aebb3b18799c6b71fc2a353 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
/*******************************************************************************
* Copyright (c) 2017 Politecnico di Torino and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution, and is available at
* http://www.apache.org/licenses/LICENSE-2.0
*******************************************************************************/
package it.polito.escape.verify.model;
import java.util.ArrayList;
import java.util.List;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel(value = "Policy verification")
public class Verification {
@ApiModelProperty(example = "SAT | UNSAT | UNKNOWN")
private String result;
private String comment;
private List<Test> tests = new ArrayList<Test>();
public Verification() {
}
public Verification(String result) {
this.result = result;
}
public Verification(String result, List<Test> tests, String comment){
this.result = result;
this.tests = tests;
this.comment = comment;
}
public Verification(String result, String comment){
this.result = result;
this.comment = comment;
}
public String getResult() {
return result;
}
public void setResult(String result) {
this.result = result;
}
public List<Test> getTests() {
return tests;
}
public void setTests(List<Test> tests) {
this.tests = tests;
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
}
|