AdocContentType.java (316B)
1 package com.wimdupont.personalweb.model; 2 3 public enum AdocContentType { 4 5 GUIDE("guides"), 6 BLOG_ARTICLE("blog"); 7 8 private final String pathPrefix; 9 10 public String getPathPrefix() { 11 return pathPrefix; 12 } 13 14 AdocContentType(String pathPrefix) { 15 this.pathPrefix = pathPrefix; 16 } 17 }