001    package net.sf.logdistiller.ant;
002    
003    /*
004     * Licensed under the Apache License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     *     http://www.apache.org/licenses/LICENSE-2.0
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    
017    import java.io.*;
018    
019    /**
020     * Definition of logdistillation configration in Ant buildfile.
021     *
022     * <pre>
023     * &lt;logdistillation&lt;/a&gt; destdir=&quot;&lt;i&gt;[directory to store event groups]&lt;/i&gt;&quot; content=&quot;&lt;i&gt;[content description]&lt;/i&gt;&quot; skipgroups=&quot;&lt;i&gt;[group to skip]&lt;/i&gt;&quot;/&gt;
024     * </pre>
025     *
026     * @deprecated replaced by <code>output</code> element in rules configuration file.
027     */
028    public class AntLogDistillation
029    {
030        private File destdir;
031    
032        private String content;
033    
034        private String skipgroups = "";
035    
036        public AntLogDistillation()
037        {
038        }
039    
040        public void setDestdir( File destdir )
041        {
042            this.destdir = destdir;
043        }
044    
045        public File getDestdir()
046        {
047            return destdir;
048        }
049    
050        public void setContent( String content )
051        {
052            this.content = content;
053        }
054    
055        public String getContent()
056        {
057            return content;
058        }
059    
060        public void setSkipgroups( String skipgroups )
061        {
062            this.skipgroups = skipgroups;
063        }
064    
065        public String getSkipgroups()
066        {
067            return skipgroups;
068        }
069    }