Configuration.java revision 335
58N/A * See LICENSE.txt included in this distribution for the specific
58N/A * file and include the License file at LICENSE.txt.
1291N/A * package scope, but that didn't work with the XMLDecoder/XMLEncoder.
1185N/Apublic class Configuration {
1185N/A private boolean historyCache;
664N/A private int historyCacheTime;
77N/A private boolean generateHtml;
77N/A private int indexWordLimit;
58N/A private boolean allowLeadingWildcard;
1356N/A private boolean remoteScmSupported;
1356N/A private boolean optimizeDatabase;
1356N/A private boolean useLuceneLocking;
58N/A private boolean compressXref;
58N/A public Configuration() {
773N/A setHistoryCache(true);
773N/A setVerbose(false);
773N/A setGenerateHtml(true);
58N/A setQuickContextScan(true);
99N/A setRemoteScmSupported(false);
99N/A setOptimizeDatabase(true);
1115N/A setUsingLuceneLocking(false);
1115N/A setCompressXref(true);
173N/A public boolean isHistoryCache() {
253N/A return historyCache;
833N/A public int getHistoryCacheTime() {
1185N/A return historyCacheTime;
1185N/A return sourceRoot;
993N/A return repositories;
99N/A public boolean isGenerateHtml() {
1115N/A return generateHtml;
875N/A return defaultProject;
173N/A public int getIndexWordLimit() {
253N/A return indexWordLimit;
1185N/A public boolean isAllowLeadingWildcard() {
1185N/A return allowLeadingWildcard;
1185N/A private boolean quickContextScan;
1185N/A public boolean isQuickContextScan() {
1185N/A return quickContextScan;
58N/A return ignoredNames;
773N/A return bugPattern;
58N/A return reviewPage;
58N/A return reviewPattern;
773N/A public boolean isRemoteScmSupported() {
773N/A return remoteScmSupported;
58N/A public boolean isOptimizeDatabase() {
773N/A return optimizeDatabase;
773N/A public boolean isUsingLuceneLocking() {
773N/A return useLuceneLocking;
773N/A public boolean isCompressXref() {
773N/A return compressXref;
937N/A e.writeObject(this);