summaryrefslogtreecommitdiffstats
path: root/dcaedt_validator/checker/src/main/java/org/onap/sdc/dcae/checker/ProcessBuilder.java
blob: 8295055ca7630239c50a9b8de0377b1c200869f4 (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
package org.onap.sdc.dcae.checker;


/**
 * Just in case you might want to do something with a template (set) once it was checked
 */
public interface ProcessBuilder<T extends Processor> {

	/* */
	public ProcessBuilder<T> with(String theName, Object theValue);
		
	/* */
	public ProcessBuilder<T> withOpt(String theName, Object theValue);
  
	/* */
	public Process<T> process();

	/* */
	default public Report run() {
		return process()
						.run();
	}

}