1
2
3
4
5
6
7
8
9
10
11
12
13
14 package ch.qos.logback.core.joran.implicitAction;
15
16 import java.util.ArrayList;
17 import java.util.List;
18
19 import ch.qos.logback.core.ContextBase;
20
21 public class FruitContext extends ContextBase {
22
23 List<Fruit> fruitList = new ArrayList<Fruit>();
24
25 public void addFruit(Fruit fs) {
26 fruitList.add(fs);
27 }
28
29 public List<Fruit> getFruitList() {
30 return fruitList;
31 }
32
33 public void setFruitShellList(List<Fruit> fruitList) {
34 this.fruitList = fruitList;
35 }
36 }