This project has retired. For details please refer to its Attic page.
ConfigConstants xref

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   * http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package org.apache.chemistry.opencmis.inmemory;
20  
21  public class ConfigConstants {
22      public static final String REPOSITORY_ID = "InMemoryServer.RepositoryId";
23      public static final String TYPE_XML = "InMemoryServer.TypeDefinitionsFile";
24      public static final String TYPE_CREATOR_CLASS = "InMemoryServer.TypesCreatorClass";
25      public static final String REPOSITORY_INFO_CREATOR_CLASS = "InMemoryServer.RepositoryInfoCreatorClass";
26      public static final String REPOSITORY_CLASS = "InMemoryServer.Class";
27      public static final String OVERRIDE_CALL_CONTEXT = "InMemoryServer.OverrideCallContext";
28      public static final String MEMORY_THRESHOLD = "InMemoryServer.MemoryThreshold";
29      public static final String TEMP_DIR = "InMemoryServer.TempDir";
30  
31      // Helper constants that allow to fill a repository with data on
32      // initialization
33      public static final String USE_REPOSITORY_FILER = "RepositoryFiller.Enable";
34      public static final String FILLER_DOCUMENT_TYPE_ID = "RepositoryFiller.DocumentTypeId";
35      public static final String FILLER_FOLDER_TYPE_ID = "RepositoryFiller.FolderTypeId";
36      public static final String FILLER_DOCS_PER_FOLDER = "RepositoryFiller.DocsPerFolder";
37      public static final String FILLER_FOLDERS_PER_FOLDER = "RepositoryFiller.FolderPerFolder";
38      public static final String FILLER_DEPTH = "RepositoryFiller.Depth";
39      public static final String FILLER_CONTENT_SIZE = "RepositoryFiller.ContentSizeInKB";
40      public static final String FILLER_DOCUMENT_PROPERTY = "RepositoryFiller.DocumentProperty.";
41      public static final String FILLER_FOLDER_PROPERTY = "RepositoryFiller.FolderProperty.";
42      public static final String CONTENT_KIND = "RepositoryFiller.ContentKind";
43      
44      // runtime configuration values
45      public static final String MAX_CONTENT_SIZE_KB = "InMemoryServer.MaxContentSizeKB";
46      public static final String CLEAN_REPOSITORY_INTERVAL = "InMemoryServer.CleanIntervalMinutes";
47      public static final String DEPLOYMENT_TIME = "InMemoryServer.DeploymentTime";
48      
49      private ConfigConstants() {
50      }
51  
52  }