View Javadoc

1   /**
2    * Copyright 2010-2012 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.common.util.property;
17  
18  import org.kuali.common.util.Mode;
19  import org.springframework.util.PropertyPlaceholderHelper;
20  
21  public final class Constants {
22  
23  	public static final String DEFAULT_PLACEHOLDER_PREFIX = "${";
24  	public static final String DEFAULT_PLACEHOLDER_SUFFIX = "}";
25  	public static final String DEFAULT_ENCRYPTED_SUFFIX = ".encrypted";
26  	public static final String DEFAULT_PATH_SUFFIX = "path";
27  	public static final String DEFAULT_MAJOR_VERSION_SUFFIX = "major";
28  	public static final String DEFAULT_MINOR_VERSION_SUFFIX = "minor";
29  	public static final String DEFAULT_INCREMENTAL_VERSION_SUFFIX = "incremental";
30  	public static final String DEFAULT_QUALIFIER_VERSION_SUFFIX = "qualifier";
31  	public static final String DEFAULT_TRIMMED_VERSION_SUFFIX = "trimmed";
32  	public static final String DEFAULT_SNAPSHOT_VERSION_SUFFIX = "snapshot";
33  	public static final String DEFAULT_USER_HOME_KEY = "user.home";
34  	public static final String DEFAULT_CODE_SUFFIX = "code";
35  	public static final String DEFAULT_HOME_SUFFIX = "home";
36  	public static final String DEFAULT_GROUP_HOME_PREFIX = "project";
37  	public static final Mode DEFAULT_PROPERTY_OVERWRITE_MODE = Mode.INFORM;
38  	public static final PropertyPlaceholderHelper DEFAULT_PROPERTY_PLACEHOLDER_HELPER = new PropertyPlaceholderHelper(DEFAULT_PLACEHOLDER_PREFIX, DEFAULT_PLACEHOLDER_SUFFIX);
39  
40  }