View Javadoc

1   package org.kuali.common.jdbc.vendor.model.keys;
2   
3   import java.util.ArrayList;
4   import java.util.Arrays;
5   import java.util.Collections;
6   import java.util.List;
7   
8   import org.kuali.common.util.spring.env.model.EnvironmentKeySuffix;
9   
10  public enum Admin implements EnvironmentKeySuffix {
11  
12  	VALIDATE("validate"), //
13  	DROP("drop"), //
14  	CREATE("create");
15  
16  	private Admin(String suffix) {
17  		this.suffix = suffix;
18  	}
19  
20  	private final String suffix;
21  
22  	@Override
23  	public String getValue() {
24  		return suffix;
25  	}
26  
27  	public static List<EnvironmentKeySuffix> asList() {
28  		return Collections.unmodifiableList(new ArrayList<EnvironmentKeySuffix>(Arrays.asList(values())));
29  	}
30  
31  }