Configuration.java revision 773
919N/A * See LICENSE.txt included in this distribution for the specific
919N/A * file and include the License file at LICENSE.txt.
970N/A * package scope, but that didn't work with the XMLDecoder/XMLEncoder.
970N/Apublic final class Configuration {
970N/A private boolean historyCache;
911N/A private int historyCacheTime;
911N/A private boolean historyCacheInDB;
156N/A private boolean generateHtml;
0N/A private int indexWordLimit;
950N/A private boolean allowLeadingWildcard;
364N/A private boolean remoteScmSupported;
156N/A private boolean optimizeDatabase;
156N/A private boolean useLuceneLocking;
0N/A private boolean compressXref;
591N/A private boolean indexVersionedFilesOnly;
591N/A public Configuration() {
591N/A setHistoryCache(true);
947N/A setHistoryCacheInDB(false);
947N/A setVerbose(false);
947N/A setGenerateHtml(true);
947N/A setQuickContextScan(true);
0N/A setRemoteScmSupported(false);
156N/A setOptimizeDatabase(true);
493N/A setUsingLuceneLocking(false);
493N/A setCompressXref(true);
156N/A setIndexVersionedFilesOnly(false);
493N/A public boolean isHistoryCache() {
493N/A return historyCache;
0N/A public int getHistoryCacheTime() {
837N/A return historyCacheTime;
339N/A public boolean isHistoryCacheInDB() {
591N/A return historyCacheInDB;
935N/A return sourceRoot;
return dataRoot;
return repositories;
return urlPrefix;
public boolean isGenerateHtml() {
return generateHtml;
return defaultProject;
public int getIndexWordLimit() {
return indexWordLimit;
public boolean isVerbose() {
return verbose;
public boolean isAllowLeadingWildcard() {
return allowLeadingWildcard;
private boolean quickContextScan;
public boolean isQuickContextScan() {
return quickContextScan;
return ignoredNames;
return userPage;
return bugPage;
return bugPattern;
return reviewPage;
return reviewPattern;
return webappLAF;
public boolean isRemoteScmSupported() {
return remoteScmSupported;
public boolean isOptimizeDatabase() {
return optimizeDatabase;
public boolean isUsingLuceneLocking() {
return useLuceneLocking;
public boolean isCompressXref() {
return compressXref;
public boolean isIndexVersionedFilesOnly() {
return indexVersionedFilesOnly;
e.writeObject(this);
e.close();
return ret;
d.close();