1 package net.sf.logdistiller.ant;
2
3 /*
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 import java.io.*;
18
19 /**
20 * Definition of logdistillation configration in Ant buildfile.
21 *
22 * <pre>
23 * <logdistillation</a> destdir="<i>[directory to store event groups]</i>" content="<i>[content description]</i>" skipgroups="<i>[group to skip]</i>"/>
24 * </pre>
25 *
26 * @deprecated replaced by <code>output</code> element in rules configuration file.
27 */
28 public class AntLogDistillation
29 {
30 private File destdir;
31
32 private String content;
33
34 private String skipgroups = "";
35
36 public AntLogDistillation()
37 {
38 }
39
40 public void setDestdir( File destdir )
41 {
42 this.destdir = destdir;
43 }
44
45 public File getDestdir()
46 {
47 return destdir;
48 }
49
50 public void setContent( String content )
51 {
52 this.content = content;
53 }
54
55 public String getContent()
56 {
57 return content;
58 }
59
60 public void setSkipgroups( String skipgroups )
61 {
62 this.skipgroups = skipgroups;
63 }
64
65 public String getSkipgroups()
66 {
67 return skipgroups;
68 }
69 }