]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms/src/org/argeo/cms/internal/kernel/RepoConf.java
1 package org
.argeo
.cms
.internal
.kernel
;
3 import org
.argeo
.osgi
.metatype
.EnumAD
;
4 import org
.argeo
.osgi
.metatype
.EnumOCD
;
6 /** JCR repository configuration */
7 enum RepoConf
implements EnumAD
{
10 /** Default workspace */
11 @Deprecated defaultWorkspace("main"),
16 /** Database password */
19 /** The identifier (can be an URL locating the repo) */
22 // JACKRABBIT SPECIFIC
24 /** Maximum database pool size */
26 /** Maximum cache size in MB */
27 @Deprecated maxCacheMB(null),
28 /** Bundle cache size in MB */
30 /** Extractor pool size */
32 /** Search cache size */
33 searchCacheSize(1000),
34 /** Max volatile index size */
35 maxVolatileIndexSize(1048576);
37 /** The default value. */
41 RepoConf(String oid
, Object def
) {
46 RepoConf(Object def
) {
50 public Object
getDefault() {
55 public String
getID() {
58 return EnumAD
.super.getID();
61 public static class OCD
extends EnumOCD
<RepoConf
> {
62 public OCD(String locale
) {
63 super(RepoConf
.class, locale
);