Subversion Repositories XServices

Rev

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