Configuration.java revision 296
306N/A * See LICENSE.txt included in this distribution for the specific
306N/A * file and include the License file at LICENSE.txt.
493N/A * package scope, but that didn't work with the XMLDecoder/XMLEncoder.
306N/Apublic class Configuration {
493N/A private boolean historyCache;
306N/A private int historyCacheTime;
306N/A private boolean generateHtml;
306N/A private int indexWordLimit;
636N/A private boolean allowLeadingWildcard;
715N/A private boolean remoteScmSupported;
private boolean optimizeDatabase;
private boolean useLuceneLocking;
public Configuration() {
setHistoryCache(true);
setVerbose(false);
setGenerateHtml(true);
setQuickContextScan(true);
setRemoteScmSupported(false);
setOptimizeDatabase(true);
setUsingLuceneLocking(false);
return ctags;
public boolean isHistoryCache() {
return historyCache;
public int getHistoryCacheTime() {
return historyCacheTime;
return projects;
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 webappLAF;
public boolean isRemoteScmSupported() {
return remoteScmSupported;
public boolean isOptimizeDatabase() {
return optimizeDatabase;
public boolean isUsingLuceneLocking() {
return useLuceneLocking;
e.writeObject(this);
e.close();
d.close();