1 package org.apache.velocity.runtime; 2 3 18 19 29 public interface RuntimeConstants 30 { 31 38 39 44 45 48 public static final String RUNTIME_LOG = 49 "runtime.log"; 50 51 54 public static final String RUNTIME_LOG_LOGSYSTEM = 55 "runtime.log.logsystem"; 56 57 60 public static final String RUNTIME_LOG_LOGSYSTEM_CLASS = 61 "runtime.log.logsystem.class"; 62 63 66 public static final String RUNTIME_LOG_ERROR_STACKTRACE = 67 "runtime.log.error.stacktrace"; 68 69 72 public static final String RUNTIME_LOG_WARN_STACKTRACE = 73 "runtime.log.warn.stacktrace"; 74 75 78 public static final String RUNTIME_LOG_INFO_STACKTRACE = 79 "runtime.log.info.stacktrace"; 80 81 84 public static final String RUNTIME_LOG_REFERENCE_LOG_INVALID = 85 "runtime.log.invalid.references"; 86 87 90 public final static String DEBUG_PREFIX = " [debug] "; 91 public final static String INFO_PREFIX = " [info] "; 92 public final static String WARN_PREFIX = " [warn] "; 93 public final static String ERROR_PREFIX = " [error] "; 94 public final static String UNKNOWN_PREFIX = " [unknown] "; 95 96 99 public final static String LOGSYSTEM_LOG4J_PATTERN = 100 "runtime.log.logsystem.log4j.pattern"; 101 102 105 public final static String LOGSYSTEM_LOG4J_FILE_SIZE = 106 "runtime.log.logsystem.log4j.file.size"; 107 108 111 public final static String LOGSYSTEM_LOG4J_FILE_BACKUPS = 112 "runtime.log.logsystem.log4j.file.backups"; 113 114 117 public final static String LOGSYSTEM_LOG4J_SYSLOGD_HOST = 118 "runtime.log.logsystem.log4j.syslogd.host"; 119 120 123 public final static String LOGSYSTEM_LOG4J_SYSLOGD_FACILITY = 124 "runtime.log.logsystem.log4j.syslogd.facility"; 125 126 129 public final static String LOGSYSTEM_LOG4J_REMOTE_HOST = 130 "runtime.log.logsystem.log4j.remote.host"; 131 132 135 public final static String LOGSYSTEM_LOG4J_REMOTE_PORT = 136 "runtime.log.logsystem.log4j.remote.port"; 137 138 141 public final static String LOGSYSTEM_LOG4J_EMAIL_SERVER = 142 "runtime.log.logsystem.log4j.email.server"; 143 144 147 public final static String LOGSYSTEM_LOG4J_EMAIL_FROM = 148 "runtime.log.logsystem.log4j.email.from"; 149 150 153 public final static String LOGSYSTEM_LOG4J_EMAIL_TO = 154 "runtime.log.logsystem.log4j.email.to"; 155 156 159 public final static String LOGSYSTEM_LOG4J_EMAIL_SUBJECT = 160 "runtime.log.logsystem.log4j.email.subject"; 161 162 165 public final static String LOGSYSTEM_LOG4J_EMAIL_BUFFER_SIZE = 166 "runtime.log.logsystem.log4j.email.buffer.size"; 167 168 177 178 181 public static final String COUNTER_NAME = 182 "directive.foreach.counter.name"; 183 184 187 public static final String COUNTER_INITIAL_VALUE = 188 "directive.foreach.counter.initial.value"; 189 190 195 public static String ERRORMSG_START = 196 "directive.include.output.errormsg.start"; 197 198 203 public static String ERRORMSG_END = 204 "directive.include.output.errormsg.end"; 205 206 209 public static String PARSE_DIRECTIVE_MAXDEPTH 210 = "directive.parse.max.depth"; 211 212 213 218 219 public static String RESOURCE_MANAGER_CLASS = "resource.manager.class"; 220 221 public static String RESOURCE_MANAGER_CACHE_CLASS = 222 "resource.manager.cache.class"; 223 224 229 230 233 public static final String RESOURCE_MANAGER_LOGWHENFOUND = 234 "resource.manager.logwhenfound"; 235 236 243 public static final String RESOURCE_LOADER = "resource.loader"; 244 245 249 public static final String FILE_RESOURCE_LOADER_PATH = 250 "file.resource.loader.path"; 251 252 256 public static final String FILE_RESOURCE_LOADER_CACHE = 257 "file.resource.loader.cache"; 258 259 264 265 268 public static final String VM_LIBRARY = "velocimacro.library"; 269 270 273 public final static String VM_LIBRARY_AUTORELOAD = 274 "velocimacro.library.autoreload"; 275 276 280 public static final String VM_PERM_ALLOW_INLINE = 281 "velocimacro.permissions.allow.inline"; 282 283 287 public final static String VM_PERM_ALLOW_INLINE_REPLACE_GLOBAL = 288 "velocimacro.permissions.allow.inline.to.replace.global"; 289 290 293 public final static String VM_PERM_INLINE_LOCAL = 294 "velocimacro.permissions.allow.inline.local.scope"; 295 296 299 public final static String VM_MESSAGES_ON = "velocimacro.messages.on"; 300 301 304 public final static String VM_CONTEXT_LOCALSCOPE = 305 "velocimacro.context.localscope"; 306 307 312 313 316 public static String INTERPOLATE_STRINGLITERALS = 317 "runtime.interpolate.string.literals"; 318 319 323 public static final String INPUT_ENCODING = "input.encoding"; 324 325 329 public static final String OUTPUT_ENCODING = "output.encoding"; 330 331 public static final String ENCODING_DEFAULT = "ISO-8859-1"; 332 333 340 341 344 final static String DEFAULT_RUNTIME_PROPERTIES = 345 "org/apache/velocity/runtime/defaults/velocity.properties"; 346 347 350 final static String DEFAULT_RUNTIME_DIRECTIVES = 351 "org/apache/velocity/runtime/defaults/directive.properties"; 352 353 358 final static int NUMBER_OF_PARSERS = 20; 359 360 363 final static String PARSER_POOL_SIZE = "parser.pool.size"; 364 365 366 369 final static String UBERSPECT_CLASSNAME = "runtime.introspector.uberspect"; 370 } 371 | Popular Tags |