Configuration.java revision 234
98N/A * See LICENSE.txt included in this distribution for the specific
98N/A * file and include the License file at LICENSE.txt.
493N/A * package scope, but that didn't work with the XMLDecoder/XMLEncoder.
98N/Apublic class Configuration {
235N/A private boolean historyCache;
493N/A private int historyCacheTime;
98N/A private boolean generateHtml;
98N/A private int indexWordLimit;
98N/A private boolean allowLeadingWildcard;
493N/A private boolean remoteScmSupported;
235N/A public Configuration() {
493N/A setHistoryCache(true);
98N/A setVerbose(false);
493N/A setGenerateHtml(true);
493N/A setQuickContextScan(true);
493N/A setRemoteScmSupported(false);
493N/A public boolean isHistoryCache() {
493N/A return historyCache;
343N/A public int getHistoryCacheTime() {
343N/A return historyCacheTime;
493N/A return sourceRoot;
98N/A 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;
e.writeObject(this);
e.close();
d.close();