Configuration.java revision 667
58N/A * See LICENSE.txt included in this distribution for the specific
58N/A * file and include the License file at LICENSE.txt.
664N/A * package scope, but that didn't work with the XMLDecoder/XMLEncoder.
112N/Apublic final class Configuration {
58N/A private boolean historyCache;
77N/A private int historyCacheTime;
58N/A private boolean generateHtml;
773N/A private int indexWordLimit;
773N/A private boolean allowLeadingWildcard;
773N/A private boolean remoteScmSupported;
58N/A private boolean optimizeDatabase;
58N/A private boolean useLuceneLocking;
58N/A private boolean compressXref;
664N/A private boolean indexVersionedFilesOnly;
894N/A public Configuration() {
77N/A setHistoryCache(true);
1026N/A setVerbose(false);
129N/A setGenerateHtml(true);
1100N/A setQuickContextScan(true);
296N/A setRemoteScmSupported(false);
335N/A setOptimizeDatabase(true);
480N/A setUsingLuceneLocking(false);
816N/A setCompressXref(true);
816N/A setIndexVersionedFilesOnly(false);
1185N/A public boolean isHistoryCache() {
1185N/A return historyCache;
1185N/A public int getHistoryCacheTime() {
1185N/A return historyCacheTime;
1185N/A return sourceRoot;
870N/A return repositories;
816N/A public boolean isGenerateHtml() {
993N/A return generateHtml;
1185N/A return defaultProject;
1185N/A public int getIndexWordLimit() {
1185N/A return indexWordLimit;
58N/A public boolean isAllowLeadingWildcard() {
58N/A return allowLeadingWildcard;
58N/A private boolean quickContextScan;
937N/A public boolean isQuickContextScan() {
816N/A return quickContextScan;
816N/A return ignoredNames;
773N/A return bugPattern;
773N/A return reviewPage;
773N/A return reviewPattern;
773N/A public boolean isRemoteScmSupported() {
773N/A return remoteScmSupported;
773N/A public boolean isOptimizeDatabase() {
773N/A return optimizeDatabase;
58N/A public boolean isUsingLuceneLocking() {
58N/A return useLuceneLocking;
58N/A public boolean isCompressXref() {
58N/A return compressXref;
58N/A public boolean isIndexVersionedFilesOnly() {
58N/A return indexVersionedFilesOnly;
937N/A e.writeObject(this);
99N/A public static Configuration makeXMLStringAsConfiguration(String xmlconfig) throws IOException {