package com.perforce.spark; import com.perforce.p4java.core.IDepot.DepotType; public enum AssetType { MAVEN, LOCAL, STREAM, UNKNOWN; public static AssetType parse(String value) { for (AssetType type : AssetType.values()) { if (value.equalsIgnoreCase(type.name())) { return type; } } return UNKNOWN; } public static AssetType parse(DepotType type) { return parse(type.name()); } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 14723 | Paul Allen | Tidy up deploy/upload | ||
#2 | 14181 | Paul Allen | Lots of updates and refactoring. | ||
#1 | 13969 | Paul Allen | Depot list/create for Assets |