File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
src/main/java/pl/orange/bst/mixer/openvas/helper Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * @created 2020-09-28 : 16:14
3
+ * @project MixewayScanner
4
+ * @author siewer
5
+ */
6
+ package pl .orange .bst .mixer .openvas .helper ;
7
+
8
+ import pl .orange .bst .mixer .openvas .pojo .Authenticate ;
9
+ import pl .orange .bst .mixer .openvas .pojo .GetResults ;
10
+ import pl .orange .bst .mixer .openvas .pojo .Report ;
11
+ import pl .orange .bst .mixer .openvas .pojo .User ;
12
+
13
+ import javax .xml .bind .annotation .XmlAccessType ;
14
+ import javax .xml .bind .annotation .XmlAccessorType ;
15
+ import javax .xml .bind .annotation .XmlElement ;
16
+ import javax .xml .bind .annotation .XmlRootElement ;
17
+
18
+ @ XmlRootElement (name ="commands" )
19
+ @ XmlAccessorType (XmlAccessType .FIELD )
20
+ public class CommandsGetResults {
21
+
22
+ private Authenticate authenticate ;
23
+ @ XmlElement (name ="get_results" )
24
+ private GetResults getResults ;
25
+ public Authenticate getAuthenticate () {
26
+ return authenticate ;
27
+ }
28
+ public void setAuthenticate (Authenticate authenticate ) {
29
+ this .authenticate = authenticate ;
30
+ }
31
+
32
+ public CommandsGetResults (){}
33
+
34
+ public CommandsGetResults (User user , int start , String report_id ){
35
+ this .authenticate = new Authenticate (user );
36
+ this .getResults = new GetResults (report_id , start );
37
+ }
38
+
39
+ }
You can’t perform that action at this time.
0 commit comments