1 package net.sourceforge.pmd; 2 3 4 11 public interface PropertyDescriptor extends Comparable { 12 13 PropertyDescriptor[] emptyPropertySet = new PropertyDescriptor[0]; 14 15 21 String name(); 22 28 String description(); 29 33 Class type(); 34 41 int maxValueCount(); 42 48 Object defaultValue(); 49 55 boolean isRequired(); 56 63 String errorFor(Object value); 64 83 float uiOrder(); 84 93 Object valueFrom(String propertyString) throws IllegalArgumentException ; 94 99 String asDelimitedString(Object value); 100 101 105 Object [][] choices(); 106 107 114 String propertyErrorFor(Rule rule); 115 116 123 char multiValueDelimiter(); 124 125 132 int preferredRowCount(); 133 } 134 | Popular Tags |