1 19 20 package com.sslexplorer.boot; 21 22 23 85 public interface PropertyDefinition extends Comparable <PropertyDefinition> { 86 87 90 public static final String UNDEFINED_PARAMETER = "UNDEFINED"; 91 92 95 public final static int TYPE_STRING = 0; 96 97 100 public final static int TYPE_INTEGER = 1; 101 102 105 public final static int TYPE_BOOLEAN = 2; 106 107 110 public final static int TYPE_LIST = 3; 111 112 115 public final static int TYPE_PASSWORD = 4; 116 117 120 public final static int TYPE_MULTI_ENTRY_LIST = 5; 121 122 125 public final static int TYPE_TEXT_AREA = 6; 126 127 130 public final static int TYPE_TIME_IN_MS = 7; 131 132 135 public final static int TYPE_COLOR = 8; 136 137 141 public final static int TYPE_MULTI_SELECT_LIST = 9; 142 143 147 public final static int TYPE_UNDEFINED = -1; 148 149 164 public int getType(); 165 166 171 public String getName(); 172 173 181 public String getTypeMeta(); 182 183 192 public void setTypeMeta(String typeMeta); 193 194 199 public String getDefaultValue(); 200 201 206 public int getCategory(); 207 208 213 public void setCategory(int category); 214 215 220 public int getSortOrder(); 221 222 227 public void setDefaultValue(String name); 228 229 235 public Object getTypeMetaObject(); 236 237 243 public String getMessageResourcesKey(); 244 245 250 public boolean isHidden(); 251 252 263 public void validate(String value, ClassLoader classLoader) throws CodedException, ClassNotFoundException ; 264 265 266 271 public void setValidationString(String validationString); 272 273 278 public void init(PropertyClass propertyClass); 279 280 285 public PropertyClass getPropertyClass(); 286 287 293 public boolean isRestartRequired(); 294 295 } | Popular Tags |