DCAE-D be initial commit
[sdc/dcae-d/dt-be-main.git] / dcaedt_validator / checker / src / main / java / org / onap / sdc / dcae / checker / ProcessBuilder.java
1 package org.onap.sdc.dcae.checker;
2
3
4 /**
5  * Just in case you might want to do something with a template (set) once it was checked
6  */
7 public interface ProcessBuilder<T extends Processor> {
8
9         /* */
10         public ProcessBuilder<T> with(String theName, Object theValue);
11                 
12         /* */
13         public ProcessBuilder<T> withOpt(String theName, Object theValue);
14   
15         /* */
16         public Process<T> process();
17
18         /* */
19         default public Report run() {
20                 return process()
21                                                 .run();
22         }
23
24 }