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 | |
---|---|---|---|---|---|
#1 | 10152 | alan_petersen |
Populate //guest/alan_petersen/p4convert/... from //guest/perforce_software/p4convert/.... |
||
//guest/perforce_software/p4convert/src/com/perforce/config/ScmType.java | |||||
#1 | 9807 | Paul Allen | Initial import of p4-convert (from change 894340) |