Passed
Push — master ( 549d98...451709 )
by John
01:28
created

addOutput(Output)   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 2
c 1
b 0
f 1
dl 0
loc 2
rs 10
cc 1
1
package br.ufrj.ppgi.greco.kettle.silk;
2
3
import java.util.ArrayList;
4
import java.util.List;
5
6
import javax.xml.bind.annotation.XmlElement;
7
import javax.xml.bind.annotation.XmlRootElement;
8
9
@XmlRootElement
10
public class Outputs {
11
	
12
	@XmlElement(name = "Output")
13
	private List<Output> outputs;
14
	
15
	public Outputs(){
16
		outputs = new ArrayList<>();
17
	}
18
	
19
	public void addOutput(Output output){
20
		this.outputs.add(output);
21
	}
22
}