View Javadoc

1   /**
2    * Copyright 2011 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
14   */
15  
16  package org.kuali.common.impex;
17  
18  import org.kuali.common.util.config.ConfigUtils;
19  import org.kuali.common.util.config.ProjectConfig;
20  import org.kuali.common.util.project.KualiConstants;
21  
22  public enum KualiImpexProducerConfig implements ProjectConfig {
23  
24  	SCHEMA_SQL("sql:schema"), //
25  	MPX_SQL("sql:mpx");
26  
27  	public static final String ARTIFACT_ID = "kuali-impex-producer";
28  
29  	private final String contextId;
30  	private final String configId;
31  
32  	private KualiImpexProducerConfig(String contextId) {
33  		this.contextId = contextId;
34  		this.configId = ConfigUtils.getConfigId(this);
35  	}
36  
37  	@Override
38  	public String getGroupId() {
39  		return KualiConstants.COMMON_GROUP_ID;
40  	}
41  
42  	@Override
43  	public String getArtifactId() {
44  		return ARTIFACT_ID;
45  	}
46  
47  	@Override
48  	public String getContextId() {
49  		return contextId;
50  	}
51  
52  	@Override
53  	public String getConfigId() {
54  		return configId;
55  	}
56  }