001/** 002 * Copyright 2010-2014 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.common.util.config; 017 018import org.kuali.common.util.project.KualiUtilProjectConstants; 019import org.kuali.common.util.project.model.ProjectIdentifier; 020 021/** 022 * @deprecated 023 */ 024@Deprecated 025public enum KualiUtilConfig implements ProjectConfig { 026 027 SCM("scm"), // Config for SCM related process 028 METAINF_SQL("metainf:sql"), // Config for META-INF processing for SQL resources 029 METAINF_MPX("metainf:mpx"), // Config for META-INF processing for MPX resources 030 METAINF_SQL_BUILD("metainf:sql:build"), // Config for META-INF processing for SQL files, only available during a build 031 METAINF_MPX_BUILD("metainf:mpx:build"); // Config for META-INF processing for MPX files, only available during a build 032 033 private final ProjectIdentifier identifier = KualiUtilProjectConstants.PROJECT_ID; 034 private final String contextId; 035 private final String configId; 036 037 private KualiUtilConfig(String contextId) { 038 this.contextId = contextId; 039 this.configId = ConfigUtils.getConfigId(this); 040 } 041 042 @Override 043 public String getGroupId() { 044 return identifier.getGroupId(); 045 } 046 047 @Override 048 public String getArtifactId() { 049 return identifier.getArtifactId(); 050 } 051 052 @Override 053 public String getContextId() { 054 return contextId; 055 } 056 057 @Override 058 public String getConfigId() { 059 return configId; 060 } 061 062}