Subversion Repositories XServices

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
102 brianR 1
/*
2
 *   Copyright 2013 Brian Rosenberger (Brutex Network)
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
package net.brutex.xservices.util.cache;
18
 
19
import java.io.File;
20
import java.util.List;
21
 
22
import org.apache.commons.configuration.PropertiesConfiguration;
23
import org.apache.log4j.Logger;
24
 
25
/**
26
 * @author Brian Rosenberger, bru(at)brutex.de
27
 *
28
 */
29
public class FindingsConfigBean {
30
 
31
	private final Logger logger;
32
 
33
	private final int instanceid;
34
 
35
	private File cvsconfig;
36
	private int cacheinterval = 15;
37
	private List<Object> filepatterns;
38
	private List<Object> contentpatterns;
39
 
40
	public FindingsConfigBean(int instanceid, Logger logger) {
41
		this.instanceid = instanceid;
42
		this.logger = logger;
43
		logger.debug("Initialise FindingsConfigBean instance '"+instanceid+"'");
44
 
45
	}
46
 
47
	/**
48
	 * @return the cache interval
49
	 */
50
	public int getCacheinterval() {
51
		return cacheinterval;
52
	}
53
 
54
	/**
55
	 * @param cacheinterval the cache interval to set
56
	 */
57
	public void setCacheinterval(int cacheinterval) {
58
		this.cacheinterval = cacheinterval;
59
	}
60
 
61
	/**
62
	 * @return the cvsconfig
63
	 */
64
	public File getCvsconfig() {
65
		return cvsconfig;
66
	}
67
 
68
	/**
69
	 * @param cvsconfig the cvsconfig to set
70
	 */
71
	public void setCvsconfig(File cvsconfig) {
72
		this.cvsconfig = cvsconfig;
73
	}
74
 
75
	/**
76
	 * @return the filepatterns
77
	 */
78
	public List<Object> getFilepatterns() {
79
		return filepatterns;
80
	}
81
 
82
	/**
83
	 * @param filepatterns the filepatterns to set
84
	 */
85
	public void setFilepatterns(List<Object> filepatterns) {
86
		this.filepatterns = filepatterns;
87
	}
88
 
89
	/**
90
	 * @return the contentpatterns
91
	 */
92
	public List<Object> getContentpatterns() {
93
		return contentpatterns;
94
	}
95
 
96
	/**
97
	 * @param contentpatterns the contentpatterns to set
98
	 */
99
	public void setContentpatterns(List<Object> contentpatterns) {
100
		this.contentpatterns = contentpatterns;
101
	}
102
 
103
	/**
104
	 * @param instanceid
105
	 */
106
 
107
}