1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.scalabench.plugins.dacapo.config;
19
20 import java.util.ArrayList;
21 import java.util.Collections;
22 import java.util.LinkedList;
23 import java.util.List;
24
25 public class Size {
26
27 private String name;
28
29 private List<String> args;
30
31 private String description;
32
33 private int threadLimit = 0;
34
35 private int threads = 1;
36
37 private List<OutputFile> outputs = new LinkedList<OutputFile>();
38
39 public String getName() {
40 return name;
41 }
42
43 public void setName(String name) {
44 this.name = name;
45 }
46
47 public List<String> getArgs() {
48 return args;
49 }
50
51 public void setArgs(List<String> args) {
52 this.args = new ArrayList<String>(args);
53 }
54
55 public String getDescription() {
56 return description;
57 }
58
59 public void setDescription(String description) {
60 this.description = description;
61 }
62
63 public int getThreadLimit() {
64 return threadLimit;
65 }
66
67 public void setThreadLimit(int threadLimit) {
68 this.threadLimit = threadLimit;
69 }
70
71 public int getThreads() {
72 return threads;
73 }
74
75 public void setThreads(int threads) {
76 this.threads = threads;
77 }
78
79 public List<OutputFile> getOutputs() {
80 return Collections.unmodifiableList(outputs);
81 }
82
83 public void addOutput(OutputFile output) {
84 outputs.add(output);
85 }
86 }