Configuration.java revision 664
479N/A * See LICENSE.txt included in this distribution for the specific
479N/A * file and include the License file at LICENSE.txt.
479N/A * package scope, but that didn't work with the XMLDecoder/XMLEncoder.
479N/Apublic final class Configuration {
479N/A private boolean historyCache;
479N/A private int historyCacheTime;
479N/A private boolean generateHtml;
479N/A private int indexWordLimit;
479N/A private boolean allowLeadingWildcard;
479N/A private boolean remoteScmSupported;
479N/A private boolean optimizeDatabase;
479N/A private boolean useLuceneLocking;
479N/A private boolean compressXref;
479N/A private boolean indexVersionedFilesOnly;
479N/A public Configuration() {
479N/A setHistoryCache(true);
setVerbose(false);
setGenerateHtml(true);
setQuickContextScan(true);
setRemoteScmSupported(false);
setOptimizeDatabase(true);
setUsingLuceneLocking(false);
setCompressXref(true);
setIndexVersionedFilesOnly(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 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();