package com.perforce.config; public enum ScmType { P4, SVN, CVS; public static ScmType parse(String property) throws Exception { if (property != null) { for (ScmType t : ScmType.values()) { if (property.equalsIgnoreCase(t.name())) { return t; } } } throw new Exception("Unknown type: " + property); } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 13920 | Paul Allen | copy part 2 (no errors) | ||
#1 | 9807 | Paul Allen | Initial import of p4-convert (from change 894340) |