Classes in this File | Line Coverage | Branch Coverage | Complexity | |||||||
Globals |
|
| 0.0;0 |
1 | /* |
|
2 | * Licensed to the Apache Software Foundation (ASF) under one or more |
|
3 | * contributor license agreements. See the NOTICE file distributed with |
|
4 | * this work for additional information regarding copyright ownership. |
|
5 | * The ASF licenses this file to you under the Apache License, Version 2.0 |
|
6 | * (the "License"); you may not use this file except in compliance with |
|
7 | * the License. You may obtain a copy of the License at |
|
8 | * |
|
9 | * http://www.apache.org/licenses/LICENSE-2.0 |
|
10 | * |
|
11 | * Unless required by applicable law or agreed to in writing, software |
|
12 | * distributed under the License is distributed on an "AS IS" BASIS, |
|
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
14 | * See the License for the specific language governing permissions and |
|
15 | * limitations under the License. |
|
16 | */ |
|
17 | ||
18 | package org.apache.shale.validator; |
|
19 | ||
20 | /** |
|
21 | * <p>Manifest constants that are global to the Validator Integration |
|
22 | * implementation.</p> |
|
23 | */ |
|
24 | ||
25 | 0 | public class Globals { |
26 | ||
27 | ||
28 | /** |
|
29 | * <p>Location of the default Validator configuration file. |
|
30 | * The rules in this file will be loaded if no |
|
31 | * "org.apache.shale.validator.VALIDATOR_RULES" |
|
32 | * context initialization parameter is supplied</p> |
|
33 | */ |
|
34 | public static final String DEFAULT_VALIDATOR_RULES = |
|
35 | "/org/apache/shale/validator/validator-rules.xml"; |
|
36 | ||
37 | ||
38 | /** |
|
39 | * <p>Application scope attribute under which we store a <code>Map</code> |
|
40 | * of arrays of <code>ShaleValidatorAction</code> instances, keyed by the |
|
41 | * logical name of the Commons Validator action to be executed.</p> |
|
42 | */ |
|
43 | public static final String VALIDATOR_ACTIONS = |
|
44 | "org.apache.shale.validator.ACTIONS"; |
|
45 | ||
46 | ||
47 | /** |
|
48 | * <p>Application scope attribute under which we store the Commons |
|
49 | * Validator resources that have been configured.</p> |
|
50 | */ |
|
51 | public static final String VALIDATOR_RESOURCES = |
|
52 | "org.apache.shale.validator.RESOURCES"; |
|
53 | ||
54 | ||
55 | /** |
|
56 | * <p>Context initialization parameter used to specify a comma delimited |
|
57 | * list of context relative resource paths to resources containing our |
|
58 | * validator configuration information.</p> |
|
59 | */ |
|
60 | public static final String VALIDATOR_RULES = |
|
61 | "org.apache.shale.validator.VALIDATOR_RULES"; |
|
62 | ||
63 | ||
64 | } |