View Javadoc

1   /**
2    * Copyright 2010-2013 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.deploy.config;
17  
18  
19  /**
20   * @deprecated
21   */
22  @Deprecated
23  public enum KualiDeployConfig implements org.kuali.common.util.config.ProjectConfig {
24  
25  	DEFAULT(); // Provides the default set of configuration for deploy related processes
26  
27  	private final String contextId;
28  	private final String configId;
29  
30  	private KualiDeployConfig() {
31  		this(null);
32  	}
33  
34  	private KualiDeployConfig(String contextId) {
35  		this.contextId = contextId;
36  		this.configId = org.kuali.common.util.config.ConfigUtils.getConfigId(this);
37  	}
38  
39  	@Override
40  	public String getGroupId() {
41  		return DeployProjectConstants.GROUP_ID;
42  	}
43  
44  	@Override
45  	public String getArtifactId() {
46  		return DeployProjectConstants.ARTIFACT_ID;
47  	}
48  
49  	@Override
50  	public String getContextId() {
51  		return contextId;
52  	}
53  
54  	@Override
55  	public String getConfigId() {
56  		return configId;
57  	}
58  
59  }