01: package org.drools.jsr94.rules;
02:
03: /*
04: * Copyright 2005 JBoss Inc
05: *
06: * Licensed under the Apache License, Version 2.0 (the "License");
07: * you may not use this file except in compliance with the License.
08: * You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS,
14: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */
18:
19: /**
20: * This class provides a list of constant values which can be used as keys in
21: * the various property maps that are passed around between the javax.rules and
22: * javax.rules.admin objects.
23: * <p/>
24: * This helps us enforce proper key values at compile time and eliminate the
25: * risk of spelling errors.
26: *
27: * @author N. Alex Rupp (n_alex <at>codehaus.org)
28: */
29: public final class Constants {
30: /** Private constructor because all public access is static. */
31: private Constants() {
32: // hidden constructor
33: }
34:
35: /** <code>RuleExecutionSet</code> name constant. */
36: public static final String RES_NAME = "javax.rules.admin.RuleExecutionSet.name";
37:
38: /** <code>RuleExecutionSet</code> description constant. */
39: public static final String RES_DESCRIPTION = "javax.rules.admin.RuleExecutionSet.description";
40:
41: public static final String RES_SOURCE = "javax.rules.admin.RuleExecutionSet.source";
42:
43: public static final String RES_SOURCE_TYPE_XML = "javax.rules.admin.RuleExecutionSet.source.xml";
44:
45: public static final String RES_SOURCE_TYPE_DECISION_TABLE = "javax.rules.admin.RuleExecutionSet.source.decisiontable";
46:
47: public static final String RES_DSL = "javax.rules.admin.RuleExecutionSet.dsl";
48:
49: /** <code>RuleExecutionSet</code> rulebase config constant. */
50: public static final String RES_RULEBASE_CONFIG = "javax.rules.admin.RuleExecutionSet.ruleBaseConfiguration";
51:
52: /** <code>RuleExecutionSet</code> package builder config constant. */
53: public static final String RES_PACKAGEBUILDER_CONFIG = "javax.rules.admin.RuleExecutionSet.packageBuilderConfiguration";
54: }
|