View Javadoc

1   /*
2    * DaCapo Benchmark Maven Plugin
3    * Copyright (C) 2010 Technische Universität Darmstadt
4    * info@scalabench.org
5    *
6    * Licensed under the Apache License, Version 2.0 (the "License");
7    * you may not use this file except in compliance with the License.
8    * You may obtain a copy of the License at
9    *
10   * http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing, software
13   * distributed under the License is distributed on an "AS IS" BASIS,
14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   * See the License for the specific language governing permissions and
16   * limitations under the License.
17   */
18  package org.scalabench.plugins.dacapo.config;
19  
20  public class OutputFile {
21      
22      private String name;
23      
24      private String checksum;
25      
26      private boolean text = false;
27      
28      private boolean filter = false;
29      
30      private boolean exists = false;
31      
32      private boolean keep = false;
33      
34      private int lines = -1;
35      
36      private int bytes = -1;
37      
38      public String getName() {
39          return name;
40      }
41      
42      public void setName(String name) {
43          this.name = name;
44      }
45      
46      public String getChecksum() {
47          return checksum;
48      }
49      
50      public void setChecksum(String checksum) {
51          this.checksum = checksum;
52      }
53      
54      public boolean isText() {
55          return text;
56      }
57      
58      public void setText(boolean text) {
59          this.text = text;
60      }
61      
62      public boolean isFilter() {
63          return filter;
64      }
65      
66      public void setFilter(boolean filter) {
67          this.filter = filter;
68      }
69      
70      /**
71       * Does this output file have to exist?
72       * 
73       * @return the value of the <code>exists</code> output clause
74       */
75      public boolean isExists() {
76          return exists;
77      }
78      
79      public void setExists(boolean exists) {
80          this.exists = exists;
81      }
82      
83      public boolean isKeep() {
84          return keep;
85      }
86      
87      public void setKeep(boolean keep) {
88          this.keep = keep;
89      }
90      
91      public int getLines() {
92          return lines;
93      }
94      
95      public void setLines(int lines) {
96          this.lines = lines;
97      }
98      
99      public int getBytes() {
100         return bytes;
101     }
102     
103     public void setBytes(int bytes) {
104         this.bytes = bytes;
105     }
106 }