1 package org.kuali.common.util.project.model;
2
3 import java.util.Arrays;
4 import java.util.Collections;
5 import java.util.List;
6
7 import org.kuali.common.util.Assert;
8 import org.kuali.common.util.project.KualiProjectConstants;
9
10 public enum KualiGroup {
11
12 COMMON(KualiProjectConstants.COMMON_GROUP_ID),
13 RICE(KualiProjectConstants.RICE_GROUP_ID),
14 STUDENT(KualiProjectConstants.STUDENT_GROUP_ID),
15 MOBILITY(KualiProjectConstants.MOBILITY_GROUP_ID),
16 OLE(KualiProjectConstants.OLE_GROUP_ID),
17 KFS(KualiProjectConstants.KFS_GROUP_ID),
18 COEUS(KualiProjectConstants.COEUS_GROUP_ID),
19 READY(KualiProjectConstants.READY_GROUP_ID),
20 KPME(KualiProjectConstants.KPME_GROUP_ID);
21
22 private KualiGroup(String groupId) {
23 Assert.noBlanks(groupId);
24 this.id = groupId;
25 }
26
27 private final String id;
28
29 public String getId() {
30 return id;
31 }
32
33
34
35
36 public static final List<KualiGroup> asList() {
37 return Collections.unmodifiableList(Arrays.asList(values()));
38 }
39
40 }