[jboss-svn-commits] JBL Code SVN: r5873 - in labs/jbossrules/trunk: . drools-repository drools-repository/classes drools-repository/dist drools-repository/doc drools-repository/doc/javadoc drools-repository/doc/javadoc/org drools-repository/doc/javadoc/org/drools drools-repository/doc/javadoc/org/drools/repository drools-repository/doc/javadoc/org/drools/repository/class-use drools-repository/doc/javadoc/resources drools-repository/lib drools-repository/src drools-repository/src/java drools-repository/src/java/org drools-repository/src/java/org/drools drools-repository/src/java/org/drools/repository drools-repository/src/java/org/drools/repository/test drools-repository/src/java/org/drools/repository/test/test_data drools-repository/src/node_type_definitions
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Aug 14 12:00:32 EDT 2006
Author: michael.neale at jboss.com
Date: 2006-08-14 11:58:48 -0400 (Mon, 14 Aug 2006)
New Revision: 5873
Added:
labs/jbossrules/trunk/drools-repository/
labs/jbossrules/trunk/drools-repository/build.internal-targets.xml
labs/jbossrules/trunk/drools-repository/build.properties
labs/jbossrules/trunk/drools-repository/build.xml
labs/jbossrules/trunk/drools-repository/classes/
labs/jbossrules/trunk/drools-repository/classes/readme.txt
labs/jbossrules/trunk/drools-repository/dist/
labs/jbossrules/trunk/drools-repository/dist/readme.txt
labs/jbossrules/trunk/drools-repository/doc/
labs/jbossrules/trunk/drools-repository/doc/high_level_design.jpeg
labs/jbossrules/trunk/drools-repository/doc/index.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/
labs/jbossrules/trunk/drools-repository/doc/javadoc/allclasses-frame.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/allclasses-noframe.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/constant-values.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/deprecated-list.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/help-doc.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/index-all.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/index.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/org/
labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/
labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/
labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/RuleSet.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/RulesRepository.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/RulesRepositoryException.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/class-use/
labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/class-use/RuleSet.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/class-use/RulesRepository.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/class-use/RulesRepositoryException.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-frame.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-summary.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-tree.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-use.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/overview-tree.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/package-list
labs/jbossrules/trunk/drools-repository/doc/javadoc/resources/
labs/jbossrules/trunk/drools-repository/doc/javadoc/resources/inherit.gif
labs/jbossrules/trunk/drools-repository/doc/javadoc/serialized-form.html
labs/jbossrules/trunk/drools-repository/doc/javadoc/stylesheet.css
labs/jbossrules/trunk/drools-repository/doc/repository_layout.jpeg
labs/jbossrules/trunk/drools-repository/lib/
labs/jbossrules/trunk/drools-repository/lib/commons-collections-3.1.jar
labs/jbossrules/trunk/drools-repository/lib/concurrent-1.3.4.jar
labs/jbossrules/trunk/drools-repository/lib/derby-10.1.1.0.jar
labs/jbossrules/trunk/drools-repository/lib/geronimo-spec-jta-1.0-M1.jar
labs/jbossrules/trunk/drools-repository/lib/jackrabbit-core-1.0-SNAPSHOT.jar
labs/jbossrules/trunk/drools-repository/lib/jcr-1.0.jar
labs/jbossrules/trunk/drools-repository/lib/junit-3.8.1.jar
labs/jbossrules/trunk/drools-repository/lib/log4j-1.2.8.jar
labs/jbossrules/trunk/drools-repository/lib/lucene-1.4.3.jar
labs/jbossrules/trunk/drools-repository/lib/slf4j-log4j12-1.0.jar
labs/jbossrules/trunk/drools-repository/lib/xercesImpl-2.6.2.jar
labs/jbossrules/trunk/drools-repository/lib/xmlParserAPIs-2.0.2.jar
labs/jbossrules/trunk/drools-repository/log4j.properties
labs/jbossrules/trunk/drools-repository/src/
labs/jbossrules/trunk/drools-repository/src/java/
labs/jbossrules/trunk/drools-repository/src/java/org/
labs/jbossrules/trunk/drools-repository/src/java/org/drools/
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/DslItem.java
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/Item.java
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RuleItem.java
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RulePackageItem.java
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RulesRepository.java
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RulesRepositoryException.java
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/StateItem.java
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/TagItem.java
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/AllTests.java
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/DslItemTestCase.java
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/RuleItemTestCase.java
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/RulePackageItemTestCase.java
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/RulesRepositoryTestCase.java
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/StateItemTestCase.java
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/TagItemTestCase.java
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/drl1.drl
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/drl2.drl
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/drl3.drl
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/dsl1.dsl
labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/dsl2.dsl
labs/jbossrules/trunk/drools-repository/src/node_type_definitions/
labs/jbossrules/trunk/drools-repository/src/node_type_definitions/dsl_node_type.cnd
labs/jbossrules/trunk/drools-repository/src/node_type_definitions/rule_node_type.cnd
labs/jbossrules/trunk/drools-repository/src/node_type_definitions/rulepackage_node_type.cnd
labs/jbossrules/trunk/drools-repository/src/node_type_definitions/state_node_type.cnd
labs/jbossrules/trunk/drools-repository/src/node_type_definitions/tag_node_type.cnd
Log:
repo start (back end)
Added: labs/jbossrules/trunk/drools-repository/build.internal-targets.xml
===================================================================
--- labs/jbossrules/trunk/drools-repository/build.internal-targets.xml 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/build.internal-targets.xml 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,27 @@
+<project name="crm-internal-targets">
+
+<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
+<!-- these are the internal targets -->
+<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
+
+ <target name="compile">
+ <javac srcdir="${src.dir}"
+ destdir="${classes.dir}"
+ debug="on"
+ optimize="off"
+ memoryMaximumSize="384m"
+ fork="true">
+ <classpath refid="base.libraries"/>
+ <compilerarg value="-Xlint:unchecked"/>
+ </javac>
+ </target>
+
+ <target name="jar" depends="compile">
+ <jar jarfile="${dist.dir}/repository.jar" update="false">
+ <fileset dir="${classes.dir}">
+ <include name="org/drools/repository/**/*"/>
+ </fileset>
+ </jar>
+ </target>
+
+</project>
Property changes on: labs/jbossrules/trunk/drools-repository/build.internal-targets.xml
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/build.properties
===================================================================
--- labs/jbossrules/trunk/drools-repository/build.properties 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/build.properties 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,3 @@
+junit.home=/usr/java/junit3.8.1
+jboss.home=/usr/java/jboss-4.0.3SP1
+axis.home=/usr/java/axis-1_3
\ No newline at end of file
Property changes on: labs/jbossrules/trunk/drools-repository/build.properties
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/build.xml
===================================================================
--- labs/jbossrules/trunk/drools-repository/build.xml 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/build.xml 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,125 @@
+<project name="repository" default="main" basedir=".">
+ <property file="build.properties"/>
+
+ <!-- default jdk location -->
+ <condition property="java.home.path" value="/usr/java/jdk1.5.0_05">
+ <not><isset property="${java.home.path}"/></not>
+ </condition>
+
+ <property environment="env"/>
+
+ <property name="deploy.home" value="${jboss.home}/server/all/deploy"/>
+ <property name="conf.home" value="${jboss.home}/server/all/conf"/>
+ <property name="build.dir" value="${basedir}/build"/>
+ <property name="lib.dir" value="${basedir}/lib"/>
+ <property name="reports.dir" value="${basedir}/reports"/>
+ <property name="classes.dir" value="${basedir}/classes"/>
+ <property name="src.dir" value="${basedir}/src/java"/>
+ <property name="dist.dir" value="${basedir}/dist"/>
+ <property name="resources.dir" value="${basedir}/resources"/>
+ <property name="doc.dir" value="${basedir}/doc"/>
+ <property name="java.home" value="${java.home.path}"/>
+
+ <path id="axis.path">
+ <fileset dir="${axis.home}/lib" includes="*.jar"/>
+ <fileset dir="${jboss.home}/client" includes="activation.jar,mail.jar"/>
+ </path>
+
+ <path id="project.classpath">
+ <fileset dir="${lib.dir}">
+ <include name="**/*.jar"/>
+ </fileset>
+ </path>
+
+ <taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask" classpathref="project.classpath"/>
+
+ <path id="base.libraries">
+ <pathelement location="${classes.dir}"/>
+ <fileset dir="${axis.home}/lib" includes="*.jar"/>
+ <fileset dir="${jboss.home}/lib" includes="*.jar"/>
+ <fileset dir="${jboss.home}/client" includes="*.jar"/>
+ <fileset dir="${jboss.home}/server/all/lib" includes="*.jar"/>
+ <fileset dir="${junit.home}" includes="junit.jar"/>
+ <fileset dir="${lib.dir}" includes="*.jar"/>
+ </path>
+
+ <import file="./build.internal-targets.xml"/>
+
+<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
+<!-- these are the external targets. they are the ones that will be used typically by users. all internal -->
+<!-- targets, which are not intended to be used by users normally, are in build.internal-targets.xml. -->
+<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
+
+ <!-- Note: in the future if we decide to use hot-deploys with exploded jars, the build-incremental, build-full
+ and deploy targets will need to work differently. -->
+ <target name="build-incremental" depends="jar" description="do an incremental build of jar"/>
+
+ <target name="build-full" depends="clean, jar" description="do a clean build of jar "/>
+
+ <target name="build-cc" depends="clean, fetch, build-full, deploy, test" description="The build that is run by the continuous integration tool (CruiseControl). Run clean, fetch, build-full, test"/>
+
+ <target name="test" description="run the junit tests. generate a report.">
+ <junit printsummary="yes" showoutput="yes" dir="${basedir}" haltonerror="false" haltonfailure="false" failureproperty="junitFailure">
+ <classpath>
+ <pathelement path="${classes.dir}"/>
+ <pathelement path="${src.dir}"/>
+ <pathelement path="./${resources.dir}"/>
+ <path refid="project.classpath"/>
+ <path refid="base.libraries"/>
+ </classpath>
+ <formatter type="plain"/>
+ <formatter type="xml"/>
+ <sysproperty key="java.endorsed.dirs" value="${jboss.home}/lib/endorsed"/>
+ <batchtest fork="yes" todir="${reports.dir}">
+ <fileset dir="${src.dir}">
+ <include name="org/drools/repository/test/**/*Test.java"/>
+ <include name="org/drools/repository/test/**/*TestCase.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ <junitreport todir="${reports.dir}">
+ <fileset dir="${reports.dir}">
+ <include name="TEST-*.xml"/>
+ </fileset>
+ <report format="frames"
+ styledir="${resources.dir}/styles"
+ todir="${reports.dir}/html"/>
+ </junitreport>
+ <fail if="junitFailure"/>
+ </target>
+
+ <target name="clean" description="clean out the output directories">
+ <delete>
+ <fileset dir="${dist.dir}" includes="*.jar"/>
+ </delete>
+ <delete dir="${classes.dir}/com"/>
+ <delete>
+ <fileset dir="${reports.dir}" includes="**/*"/>
+ </delete>
+ </target>
+
+ <target name="deploy" description="ship the jars, wars, whatever to the execution system (this system)">
+ <fail message="not yet implemented" />
+ </target>
+
+ <target name="fetch" description="get the latest source from the subversion repository">
+ <fail message="not yet implemented" />
+ </target>
+
+ <target name="javadoc" description="do the documentation">
+ <javadoc destdir="${doc.dir}/javadoc" author="true" version="true" maxmemory="256M" use="true" packagenames="org.drools.repository.*" sourcepath="${src.dir}" windowtitle="rules repository API">
+ <classpath>
+ <path refid="base.libraries"/>
+ <path location="${junit.home}/junit.jar"/>
+ </classpath>
+ <doctitle><![CDATA[<h1>rules repository API</h1>]]></doctitle>
+ <bottom><![CDATA[<i>Copyright © 2006 Rackspace Corp. All Rights Reserved.</i>]]></bottom>
+ <tag name="todo" scope="all" description="To do:"/>
+ </javadoc>
+ </target>
+
+ <target name="all" depends="clean, fetch, build-full, test, javadoc, deploy" description="clean, fetch, build, javadoc, deploy, test"/>
+
+ <target name="main" depends="build-incremental, test" description="the default target. build-incremental, test"/>
+
+</project>
Property changes on: labs/jbossrules/trunk/drools-repository/build.xml
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/classes/readme.txt
===================================================================
--- labs/jbossrules/trunk/drools-repository/classes/readme.txt 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/classes/readme.txt 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1 @@
+Target of compilation.
\ No newline at end of file
Property changes on: labs/jbossrules/trunk/drools-repository/classes/readme.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/dist/readme.txt
===================================================================
--- labs/jbossrules/trunk/drools-repository/dist/readme.txt 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/dist/readme.txt 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1 @@
+Distributable files from build go here.
\ No newline at end of file
Property changes on: labs/jbossrules/trunk/drools-repository/dist/readme.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/high_level_design.jpeg
===================================================================
(Binary files differ)
Property changes on: labs/jbossrules/trunk/drools-repository/doc/high_level_design.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossrules/trunk/drools-repository/doc/index.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/index.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/index.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,395 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+
+
+
+ <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
+
+
+ <title>JBoss Rules RulesRepository: A preliminary Design</title>
+</head>
+
+
+<body>
+
+
+<h2>A preliminary design for the JBoss Rules Rule Repository</h2>
+
+
+<br>
+
+
+Ben Truitt (btruitt at rackspace.com), Software Engineer, Rackspace
+Managed Hosting<br>
+
+
+31 July 2006<br>
+
+
+<br>
+
+
+<h4>Abstract</h4>
+With the growing popularity of JBoss Rules (drools), it is becoming
+clear that enterprise users require a well-integrated rule repository
+solution to better manage the lifecycle of rules in enterprise
+applications. This document outlines a potential design for such
+a repository, which is built upon The Content Repository for Java
+Technology API (JSR-170). Further input is required to complete
+this design, but the ideas outlined here have been successfully
+prototyped and tested.
+
+<h4>Requirements</h4>
+
+
+The requirements driving this project can be found in subversion <a href="http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-repository/doc/ideas.txt">here</a>.
+ They are relisted here for convenience:<br>
+
+
+<span style="text-decoration: underline;">Required</span><br>
+
+1. Version rules<br>
+
+2. Allow for different states: draft, review, approved, deploy, outdated<br>
+
+3. Perform a diff of one version against an older version<br>
+
+4. Produce a bundled package of rules (aka ruleset)<br>
+
+5. Backup rules<br>
+
+6. Provide authentication for accounts<br>
+
+7. Audit the access to the rule repository<br>
+
+8. Restore the repository from backup<br>
+
+<br>
+
+These are the critical items. The others are nice features, but they
+aren't generally critical. For really large and complex cases, many of
+the features in the optional category might be required, but it's hard
+to say they are required for the general case.<br>
+
+<br>
+
+<span style="text-decoration: underline;">Optional</span><br>
+
+1. query rules based on a condition. In other words, find all rules that have the condition "account.type == premium".<br>
+
+2. store the data in a normalized format<br>
+
+3. provide translation to other formats<br>
+
+4. understand how rules go from draft to revision and enforce the process if necessary<br>
+
+5. provide an automatic push mechanism to deploy rules<br>
+
+6. automated rule validation at the rule logic level<br>
+
+7. provides basic templates for categories of rule patterns<br>
+
+8. provide plugin architecture for people to extend<br>
+
+<br>
+
+For the purposes of the first phase of this project, I suggest that we focus only on the items above that <span style="font-style: italic;">required</span> in order to minimize initial complexity.<br>
+
+
+<h4>A High-Level Design</h4>
+
+Not only were requirements already captured for this project in subversion, but so was a <a href="http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-repository/doc/repo_bob_vision.pdf">high level design</a>, reproduced here:<br>
+<img style="width: 488px; height: 598px;" alt="high level design" src="high_level_design.jpeg">
+<h4>The JCR Specification (JSR-170)</h4>
+The Content Repository for Java Technology specification, developed under the Java Community Process as <a href="http://www.jcp.org/en/jsr/detail?id=170">JSR-170</a>,
+provides a standard API for accessing any specification-compliant
+repository implementation in a way that is vendor neutral.
+ Implementations are free to use a backend storage mechanism of
+their choice (e.g. database, filesystem, WebDAV repository, etc.). <br>
+<br>
+In addition to a standard interface and vendor neutrality, making use of the JCR API offers these advantages to this project:<br>
+<ol>
+ <li>Versioning is an optional component of the spec, supported by <a href="http://jackrabbit.apache.org/">Apache JackRabbit</a> and other implementations</li>
+ <li>We can make a "state" property in the system for rules, to capture "draft", "review", "approved", "deploy", "outdated"</li>
+ <li>There are several ways to produce a bundled package of rules
+(ruleset) under JCR, from referencing the set of nodes in the rule set,
+to using workspaces to capture the concept of a ruleset, to simply
+holding this relationship in a text file stored in the repository</li>
+ <li>JCR spec includes export of repository to XML</li>
+ <li>Authentication will be handled by <a href="http://java.sun.com/products/jaas/">JAAS</a></li>
+ <li>JCR spec includes an event framework to hook into for auditing purposes</li>
+ <li>JCR spec includes import of repository from XML</li>
+ <li>JCR spec includes search capability that may be useful not only
+for implementing optional requirement 1 above, but also for other
+purposes</li>
+</ol>
+
+
+<h4>The Repository Model - Design Strategy</h4>
+<img style="width: 864px; height: 532px;" alt="repository layout" src="repository_layout.jpeg"><br>
+<br>
+The above image shows an example of the RulesRepository in use. Let's take a look at the repository from the top down. <br>
+<br>
+Notice that all content resides in one workspace within the repository.
+ There was some discussion about using multiple workspaces as part
+of the design of the repository layout to capture, e.g. rule sets or
+rule state (draft, review, etc.) information. This seemed like an
+interesting idea because of section 4.11.1.2 of the JCR Specification.
+ However, a closer examination of the concept of workspaces in a
+JCR repository reveals that a workspace is analogous to local checkouts
+from a revision control system (those checkouts are not all the same.
+one may only contain a subset of the items that are under revision
+control, another may contain revisions of items that are tagged to a
+certain milestone. and then you may see items in a checkout that are
+not even under version control). So while it might be technically
+possible to use workspaces to capture individual rule state
+information, etc., doing so would not be a clean or clear design.
+ Therefore, the design above puts all of the RulesRepository into
+a single workspace.<br>
+<br>
+Beneath the root node of the workspace is the 'drools:repository' node.
+ The subtree below this node captures all of the RulesRepository
+content. This extra level of heirarchy will help to make it
+easier for other systems to make use of the same JCR content
+repository, if that is desirable for some reason. Note that the
+drools namespace will be used several times - it is a namespace created
+within the JCR repository.<br>
+<br>
+The children of the drools:repository node are:<br>
+<ul>
+ <li>drools:rule_area</li>
+ <li>drools:dsl_area</li>
+ <li>drools:tag_area</li>
+ <li>drools:state_area</li>
+</ul>
+Each of these nodes is of type 'nt:folder' (see section 6.7.22.8 of the JCR specification for more detail).<br>
+<br>
+The 'drools:rule_area' node holds rule nodes. In the example
+above, the rule nodes are named 'ruleA' and 'ruleB'. 'ruleA'
+provides a view of the properties a node of type
+'drools:rule_node_type' has. See below for a more formal
+discussion of the node types used by the RulesRepository.<br>
+<br>
+A rule node can have 0 or 1 references to a DSL node (see below).
+ This reference may be either to the head DSL node, or to a
+specific version of the DSL node. If the reference is to the head
+DSL node, this reference will continue to follow the head version of
+that node in the workspace even as new versions are checked in for the
+DSL node. <br>
+<br>
+A rule node can have 0 or many references to a tag node (see below). Tag nodes are not versionable. <br>
+<br>
+A rule node can have 0 or 1 references to a state node (see below). State nodes are not versionable. <br>
+<br>
+A rule node holds the content of a rule in the 'jcr:content' property.
+ See the more formal definition below, and section 6.7.22.6 of the
+JCR specification for more detail on this.<br>
+<br>
+The 'drools:dsl_area' node holds DSL nodes. In the above example,
+the node named 'dslA' is a DSL node. A DSL node holds the content
+of the DSL in the 'jcr:content' property. See the more formal
+definition below, and section 6.7.22.6 of the JCR specification for
+more detail on this. <br>
+<br>
+The 'drools:tag_area' node holds tag nodes. In the above example,
+the nodes named 'fun' and 'cheesy' are tags. The reason tags are
+their own nodes in this repository, rather than being simple String
+properties of the rule nodes, is two-fold:<br>
+<ol>
+ <li>making tags their own nodes makes searching on the available tags much easier</li>
+ <li>making tags their own nodes allows a user interface to provide a drop-down list of possible tags </li>
+</ol>
+The same logic applies to state nodes, which reside in under the
+'drools:state_area" node of the repository. In the above example
+the nodes named 'draft' and 'review' are state nodes. <br>
+<br>
+Neither state nodes nor tag nodes are versionable under this design.
+ The primary reason for this decision is to simplify the design as
+much as possible.<br>
+<h4>Formal Description of RulesRepository Node Types</h4>
+<h5>drools:dsl_node_type</h5>
+<span style="font-style: italic;"> NodeTypeName<br>
+</span><span style="font-weight: bold;"> drools:dsl_node_type<br>
+ </span><span style="font-style: italic;">Supertypes<br>
+ </span><span style="font-weight: bold;">nt:file, <br>
+ mix:versionable</span><br>
+<span style="font-style: italic;"> IsMixin<br>
+ </span><span style="font-weight: bold;">false</span><br>
+<span style="font-style: italic;"> HasOrderableChildNodes<br>
+ </span><span style="font-weight: bold;">false</span><br>
+<span style="font-style: italic;"> PrimaryItemName<br>
+ </span><span style="font-weight: bold;">null</span><br>
+<span style="font-style: italic;"> PropertyDefinition</span><span style="font-weight: bold;"><br>
+ none<br>
+<br>
+ </span>This node type serves to make a distinct node
+type for DSL nodes, to help ensure a form of type safety when
+manipulating nodes. It makes use of the definition of nt:file,
+allowing the content of the DSL file to be stored in the jcr:content
+property it inherits from that node type. The node also has the
+mixin type mix:versionable as a supertype, making this a versionable
+node type.<br>
+<br>
+<h5>drools:rule_node_type</h5>
+ <span style="font-style: italic;">NodeTypeName<br>
+ </span><span style="font-weight: bold;">drools:rule_node_type</span><span style="font-style: italic;"><br>
+ Supertypes<br>
+ </span><span style="font-weight: bold;">nt:file,</span><br style="font-weight: bold;">
+<span style="font-weight: bold;"> mix:versionable</span><span style="font-style: italic;"><br>
+ IsMixin<br>
+ </span><span style="font-weight: bold;">false</span><br>
+<span style="font-style: italic;"> HasOrderableChildNodes<br>
+ </span><span style="font-weight: bold;">false</span><br>
+<span style="font-style: italic;"> PrimaryItemName<br>
+ </span><span style="font-weight: bold;">null</span><br>
+<span style="font-style: italic;"> PropertyDefinition<br>
+ </span>Name <span style="font-weight: bold;">drools:dsl_reference<br>
+ </span>RequiredType <span style="font-weight: bold;">REFERENCE</span><br>
+ ValueConstraints <span style="font-weight: bold;">['drools:dsl_node_type','nt:version']</span><br>
+ DefaultValues <span style="font-weight: bold;">null</span><br>
+ AutoCreated <span style="font-weight: bold;">false</span><br>
+ Mandatory <span style="font-weight: bold;">false</span><br>
+ OnParentVersion <span style="font-weight: bold;">COPY</span><br>
+ Protected <span style="font-weight: bold;">false</span><br>
+ Multiple <span style="font-weight: bold;">false<br>
+</span><span style="font-style: italic;"> </span><span style="font-style: italic;">PropertyDefinition<br>
+ </span>Name <span style="font-weight: bold;">drools:tag_reference<br>
+ </span>RequiredType <span style="font-weight: bold;">REFERENCE</span><br>
+ ValueConstraints <span style="font-weight: bold;">['drools:tag_node_type']</span><br>
+ DefaultValues <span style="font-weight: bold;">null</span><br>
+ AutoCreated <span style="font-weight: bold;">false</span><br>
+ Mandatory <span style="font-weight: bold;">false</span><br>
+ OnParentVersion <span style="font-weight: bold;">COPY</span><br>
+ Protected <span style="font-weight: bold;">false</span><br>
+ Multiple <span style="font-weight: bold;">true<br>
+ </span><span style="font-style: italic;">PropertyDefinition<br>
+ </span>Name <span style="font-weight: bold;">drools:state_reference<br>
+ </span>RequiredType <span style="font-weight: bold;">REFERENCE</span><br>
+ ValueConstraints <span style="font-weight: bold;">['drools:state_node_type']</span><br>
+ DefaultValues <span style="font-weight: bold;">null</span><br>
+ AutoCreated <span style="font-weight: bold;">false</span><br>
+ Mandatory <span style="font-weight: bold;">false</span><br>
+ OnParentVersion <span style="font-weight: bold;">COPY</span><br>
+ Protected <span style="font-weight: bold;">false</span><br>
+ Multiple <span style="font-weight: bold;">false<br>
+<br>
+</span><span style="font-weight: bold;"> </span>This
+node type serves to
+make a distinct node type for rule nodes, to help ensure a form of type
+safety when manipulating nodes. It also defines several
+properties outlined in the repository layout overview above. It
+makes use of the definition of
+nt:file, allowing the content of the rule to be stored in the
+jcr:content property it inherits from that node type. The node
+also
+has the mixin type mix:versionable as a supertype, making this a
+versionable node type. A node of this type can refer to 0 or 1 DSL
+nodes, 0 or more tag nodes, and 0 or 1 state nodes.
+<h5>drools:ruleset_node_type</h5>
+ <span style="font-style: italic;">NodeTypeName<br>
+ </span><span style="font-weight: bold;">drools:ruleset_node_type</span><span style="font-style: italic;"><br>
+ Supertypes<br>
+ </span><span style="font-weight: bold;">nt:hierarchyNode</span><span style="font-weight: bold;"></span><span style="font-style: italic;"><br>
+ IsMixin<br>
+ </span><span style="font-weight: bold;">false</span><br>
+<span style="font-style: italic;"> HasOrderableChildNodes<br>
+ </span><span style="font-weight: bold;">false</span><br>
+<span style="font-style: italic;"> PrimaryItemName<br>
+ </span><span style="font-weight: bold;">null</span><br>
+<span style="font-style: italic;"> PropertyDefinition<br>
+ </span>Name <span style="font-weight: bold;">drools:dsl_reference<br>
+ </span>RequiredType <span style="font-weight: bold;">REFERENCE</span><br>
+ ValueConstraints <span style="font-weight: bold;">['drools:rule_node_type','nt:version']</span><br>
+ DefaultValues <span style="font-weight: bold;">null</span><br>
+ AutoCreated <span style="font-weight: bold;">false</span><br>
+ Mandatory <span style="font-weight: bold;">false</span><br>
+ OnParentVersion <span style="font-weight: bold;">COPY</span><br>
+ Protected <span style="font-weight: bold;">false</span><br>
+ Multiple <span style="font-weight: bold;">true<br>
+<br>
+</span><span style="font-weight: bold;"> </span>This
+node type serves to
+make a distinct node type for ruleset nodes, to help ensure a form of
+type
+safety when manipulating nodes. It also defines the
+property
+'dsl_reference' outlined in the repository layout overview above.
+ It has as a supertype 'nt:hierarchyNode', which allows it to be
+stored in a folder node, which the "drools:ruleset_area" node is. A
+node of this type can refer to 0 or more rule nodes.<br>
+<br>
+<h5>drools:state_node_type</h5>
+ <span style="font-style: italic;">NodeTypeName<br>
+ </span><span style="font-weight: bold;">drools:state_node_type</span><span style="font-style: italic;"><br>
+ Supertypes<br>
+ </span><span style="font-weight: bold;">nt:hierarchyNode,<br>
+ mix:referenceable</span><span style="font-weight: bold;"></span><span style="font-style: italic;"><br>
+ IsMixin<br>
+ </span><span style="font-weight: bold;">false</span><br>
+<span style="font-style: italic;"> HasOrderableChildNodes<br>
+ </span><span style="font-weight: bold;">false</span><br>
+<span style="font-style: italic;"> PrimaryItemName<br>
+ </span><span style="font-weight: bold;">null</span><br>
+<span style="font-style: italic;"> PropertyDefinition<br>
+ </span><span style="font-weight: bold;">none<br>
+<br>
+</span><span style="font-weight: bold;"> </span>This
+node type serves to
+make a distinct node type for state nodes, to help ensure a form of
+type
+safety when manipulating nodes. It
+has as a supertype 'nt:hierarchyNode', which allows it to be stored in
+a folder node, which the "drools:state_area" node is. This node is referenceable so that a rule node can refer to it.<br>
+<span style="font-style: italic;"> <br>
+</span>
+<h5>drools:tag_node_type</h5>
+ <span style="font-style: italic;">NodeTypeName<br>
+ </span><span style="font-weight: bold;">drools:tag_node_type</span><span style="font-style: italic;"><br>
+ Supertypes<br>
+ </span><span style="font-weight: bold;">nt:hierarchyNode,<br>
+ mix:referenceable</span><span style="font-weight: bold;"></span><span style="font-style: italic;"><br>
+ IsMixin<br>
+ </span><span style="font-weight: bold;">false</span><br>
+<span style="font-style: italic;"> HasOrderableChildNodes<br>
+ </span><span style="font-weight: bold;">false</span><br>
+<span style="font-style: italic;"> PrimaryItemName<br>
+ </span><span style="font-weight: bold;">null</span><br>
+<span style="font-style: italic;"> PropertyDefinition<br>
+ </span><span style="font-weight: bold;">none<br>
+<br>
+</span><span style="font-weight: bold;"> </span>This
+node type serves to
+make a distinct node type for tag nodes, to help ensure a form of
+type
+safety when manipulating nodes. It
+has as a supertype 'nt:hierarchyNode', which allows it to be stored in
+a folder node, which the "drools:tag_area" node is. This node is referenceable so that a rule node can refer to it.<span style="font-weight: bold;"></span><span style="font-style: italic;"></span>
+
+<h4>RulesRepository Functionality</h4>
+The functionality rules repository is still not fully defined. A
+prototype implementation has been started, and the javadoc for that
+implementation's functionality implemented so far can be viewed <a href="javadoc/index.html">here</a>.
+
+<h4>Web Service Interface</h4>
+The rules repository will offer a web service interface that will be
+utilized by rule authoring tools. This interface still needs to
+be defined. It will likely partially overlap with the
+functionality documented in the <a href="javadoc/index.html">javadoc</a>
+of the prototype implementation, but additional services will likely be
+required. This section of the design needs additional work.
+<h4>Open Questions in this Design / Items left to cover</h4>
+The following design decisions are still unresolved for this design:<br>
+<ol>
+ <li>Should the rule_area have a heirarchy of nodes beneath it corresponding to the package that the rule is in?</li>
+ <li>More specifics are needed for the user authenication scheme.</li>
+ <li>Support for searching needs to be discussed in this design.</li>
+ <li>Support for importing and exporting needs to be more thoroughly discussed in this design.</li>
+ <li>Support for observation needs to be added to this design to meet the event auditing requirement.</li>
+ <li>Support for exporting rules to DRL / DSL files needs to be included in this design.</li>
+ <li>The web service interface needs to be defined.</li>
+</ol>
+
+
+</body>
+</html>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/index.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/allclasses-frame.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/allclasses-frame.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/allclasses-frame.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,58 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 13 12:41:05 CDT 2006 -->
+<TITLE>
+All Classes (rules repository API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+
+</HEAD>
+
+<BODY BGCOLOR="white">
+<FONT size="+1" CLASS="FrameHeadingFont">
+<B>All Classes</B></FONT>
+<BR>
+
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
+<TR>
+<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/drools/repository/test/AllTests.html" title="class in org.drools.repository.test" target="classFrame">AllTests</A>
+<BR>
+<A HREF="org/drools/repository/DslItem.html" title="class in org.drools.repository" target="classFrame">DslItem</A>
+<BR>
+<A HREF="org/drools/repository/test/DslItemTestCase.html" title="class in org.drools.repository.test" target="classFrame">DslItemTestCase</A>
+<BR>
+<A HREF="org/drools/repository/Item.html" title="class in org.drools.repository" target="classFrame">Item</A>
+<BR>
+<A HREF="org/drools/repository/RuleItem.html" title="class in org.drools.repository" target="classFrame">RuleItem</A>
+<BR>
+<A HREF="org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test" target="classFrame">RuleItemTestCase</A>
+<BR>
+<A HREF="org/drools/repository/RulePackageItem.html" title="class in org.drools.repository" target="classFrame">RulePackageItem</A>
+<BR>
+<A HREF="org/drools/repository/test/RulePackageItemTestCase.html" title="class in org.drools.repository.test" target="classFrame">RulePackageItemTestCase</A>
+<BR>
+<A HREF="org/drools/repository/RulesRepository.html" title="class in org.drools.repository" target="classFrame">RulesRepository</A>
+<BR>
+<A HREF="org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository" target="classFrame">RulesRepositoryException</A>
+<BR>
+<A HREF="org/drools/repository/test/RulesRepositoryTestCase.html" title="class in org.drools.repository.test" target="classFrame">RulesRepositoryTestCase</A>
+<BR>
+<A HREF="org/drools/repository/StateItem.html" title="class in org.drools.repository" target="classFrame">StateItem</A>
+<BR>
+<A HREF="org/drools/repository/test/StateItemTestCase.html" title="class in org.drools.repository.test" target="classFrame">StateItemTestCase</A>
+<BR>
+<A HREF="org/drools/repository/TagItem.html" title="class in org.drools.repository" target="classFrame">TagItem</A>
+<BR>
+<A HREF="org/drools/repository/test/TagItemTestCase.html" title="class in org.drools.repository.test" target="classFrame">TagItemTestCase</A>
+<BR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/allclasses-frame.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/allclasses-noframe.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/allclasses-noframe.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/allclasses-noframe.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,58 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 13 12:41:05 CDT 2006 -->
+<TITLE>
+All Classes (rules repository API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+
+</HEAD>
+
+<BODY BGCOLOR="white">
+<FONT size="+1" CLASS="FrameHeadingFont">
+<B>All Classes</B></FONT>
+<BR>
+
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
+<TR>
+<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/drools/repository/test/AllTests.html" title="class in org.drools.repository.test">AllTests</A>
+<BR>
+<A HREF="org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A>
+<BR>
+<A HREF="org/drools/repository/test/DslItemTestCase.html" title="class in org.drools.repository.test">DslItemTestCase</A>
+<BR>
+<A HREF="org/drools/repository/Item.html" title="class in org.drools.repository">Item</A>
+<BR>
+<A HREF="org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A>
+<BR>
+<A HREF="org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test">RuleItemTestCase</A>
+<BR>
+<A HREF="org/drools/repository/RulePackageItem.html" title="class in org.drools.repository">RulePackageItem</A>
+<BR>
+<A HREF="org/drools/repository/test/RulePackageItemTestCase.html" title="class in org.drools.repository.test">RulePackageItemTestCase</A>
+<BR>
+<A HREF="org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<BR>
+<A HREF="org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A>
+<BR>
+<A HREF="org/drools/repository/test/RulesRepositoryTestCase.html" title="class in org.drools.repository.test">RulesRepositoryTestCase</A>
+<BR>
+<A HREF="org/drools/repository/StateItem.html" title="class in org.drools.repository">StateItem</A>
+<BR>
+<A HREF="org/drools/repository/test/StateItemTestCase.html" title="class in org.drools.repository.test">StateItemTestCase</A>
+<BR>
+<A HREF="org/drools/repository/TagItem.html" title="class in org.drools.repository">TagItem</A>
+<BR>
+<A HREF="org/drools/repository/test/TagItemTestCase.html" title="class in org.drools.repository.test">TagItemTestCase</A>
+<BR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/allclasses-noframe.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/constant-values.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/constant-values.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/constant-values.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,314 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 13 12:41:05 CDT 2006 -->
+<TITLE>
+Constant Field Values (rules repository API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Constant Field Values (rules repository API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H1>
+Constant Field Values</H1>
+</CENTER>
+<HR SIZE="4" NOSHADE>
+<B>Contents</B><UL>
+<LI><A HREF="#org.drools">org.drools.*</A>
+</UL>
+
+<A NAME="org.drools"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left"><FONT SIZE="+2">
+org.drools.*</FONT></TH>
+</TR>
+</TABLE>
+
+<P>
+
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="3">org.drools.repository.<A HREF="org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.drools.repository.DslItem.DSL_NODE_TYPE_NAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/drools/repository/DslItem.html#DSL_NODE_TYPE_NAME">DSL_NODE_TYPE_NAME</A></CODE></TD>
+<TD ALIGN="right"><CODE>"drools:dsl_node_type"</CODE></TD>
+</TR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<P>
+
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="3">org.drools.repository.<A HREF="org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.drools.repository.RuleItem.DSL_PROPERTY_NAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/drools/repository/RuleItem.html#DSL_PROPERTY_NAME">DSL_PROPERTY_NAME</A></CODE></TD>
+<TD ALIGN="right"><CODE>"drools:dsl_reference"</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.drools.repository.RuleItem.RULE_NODE_TYPE_NAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/drools/repository/RuleItem.html#RULE_NODE_TYPE_NAME">RULE_NODE_TYPE_NAME</A></CODE></TD>
+<TD ALIGN="right"><CODE>"drools:rule_node_type"</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.drools.repository.RuleItem.STATE_PROPERTY_NAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/drools/repository/RuleItem.html#STATE_PROPERTY_NAME">STATE_PROPERTY_NAME</A></CODE></TD>
+<TD ALIGN="right"><CODE>"drools:state_reference"</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.drools.repository.RuleItem.TAG_PROPERTY_NAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/drools/repository/RuleItem.html#TAG_PROPERTY_NAME">TAG_PROPERTY_NAME</A></CODE></TD>
+<TD ALIGN="right"><CODE>"drools:tag_reference"</CODE></TD>
+</TR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<P>
+
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="3">org.drools.repository.<A HREF="org/drools/repository/RulePackageItem.html" title="class in org.drools.repository">RulePackageItem</A></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.drools.repository.RulePackageItem.RULE_PACKAGE_TYPE_NAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/drools/repository/RulePackageItem.html#RULE_PACKAGE_TYPE_NAME">RULE_PACKAGE_TYPE_NAME</A></CODE></TD>
+<TD ALIGN="right"><CODE>"drools:rulepackage_node_type"</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.drools.repository.RulePackageItem.RULE_REFERENCE_PROPERTY_NAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/drools/repository/RulePackageItem.html#RULE_REFERENCE_PROPERTY_NAME">RULE_REFERENCE_PROPERTY_NAME</A></CODE></TD>
+<TD ALIGN="right"><CODE>"drools:rule_reference"</CODE></TD>
+</TR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<P>
+
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="3">org.drools.repository.<A HREF="org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.drools.repository.RulesRepository.DSL_AREA"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/drools/repository/RulesRepository.html#DSL_AREA">DSL_AREA</A></CODE></TD>
+<TD ALIGN="right"><CODE>"drools:dsl_area"</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.drools.repository.RulesRepository.RULE_AREA"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/drools/repository/RulesRepository.html#RULE_AREA">RULE_AREA</A></CODE></TD>
+<TD ALIGN="right"><CODE>"drools:rule_area"</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.drools.repository.RulesRepository.RULE_PACKAGE_AREA"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/drools/repository/RulesRepository.html#RULE_PACKAGE_AREA">RULE_PACKAGE_AREA</A></CODE></TD>
+<TD ALIGN="right"><CODE>"drools:rulepackage_area"</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.drools.repository.RulesRepository.RULES_REPOSITORY_NAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/drools/repository/RulesRepository.html#RULES_REPOSITORY_NAME">RULES_REPOSITORY_NAME</A></CODE></TD>
+<TD ALIGN="right"><CODE>"drools:repository"</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.drools.repository.RulesRepository.STATE_AREA"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/drools/repository/RulesRepository.html#STATE_AREA">STATE_AREA</A></CODE></TD>
+<TD ALIGN="right"><CODE>"drools:state_area"</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.drools.repository.RulesRepository.TAG_AREA"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/drools/repository/RulesRepository.html#TAG_AREA">TAG_AREA</A></CODE></TD>
+<TD ALIGN="right"><CODE>"drools:tag_area"</CODE></TD>
+</TR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<P>
+
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="3">org.drools.repository.<A HREF="org/drools/repository/StateItem.html" title="class in org.drools.repository">StateItem</A></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.drools.repository.StateItem.STATE_NODE_TYPE_NAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/drools/repository/StateItem.html#STATE_NODE_TYPE_NAME">STATE_NODE_TYPE_NAME</A></CODE></TD>
+<TD ALIGN="right"><CODE>"drools:state_node_type"</CODE></TD>
+</TR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<P>
+
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="3">org.drools.repository.<A HREF="org/drools/repository/TagItem.html" title="class in org.drools.repository">TagItem</A></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.drools.repository.TagItem.TAG_NODE_TYPE_NAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public static final java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/drools/repository/TagItem.html#TAG_NODE_TYPE_NAME">TAG_NODE_TYPE_NAME</A></CODE></TD>
+<TD ALIGN="right"><CODE>"drools:tag_node_type"</CODE></TD>
+</TR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<P>
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+<i>Copyright © 2006 Rackspace Corp. All Rights Reserved.</i>
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/constant-values.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/deprecated-list.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/deprecated-list.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/deprecated-list.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,142 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 13 12:41:05 CDT 2006 -->
+<TITLE>
+Deprecated List (rules repository API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Deprecated List (rules repository API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?deprecated-list.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H2>
+<B>Deprecated API</B></H2>
+</CENTER>
+<HR SIZE="4" NOSHADE>
+<B>Contents</B><UL>
+</UL>
+
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?deprecated-list.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+<i>Copyright © 2006 Rackspace Corp. All Rights Reserved.</i>
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/deprecated-list.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/help-doc.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/help-doc.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/help-doc.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,219 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 13 12:41:05 CDT 2006 -->
+<TITLE>
+API Help (rules repository API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="API Help (rules repository API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?help-doc.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="help-doc.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H1>
+How This API Document Is Organized</H1>
+</CENTER>
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.<H3>
+Overview</H3>
+<BLOCKQUOTE>
+
+<P>
+The <A HREF="overview-summary.html">Overview</A> page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.</BLOCKQUOTE>
+<H3>
+Package</H3>
+<BLOCKQUOTE>
+
+<P>
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:<UL>
+<LI>Interfaces (italic)<LI>Classes<LI>Enums<LI>Exceptions<LI>Errors<LI>Annotation Types</UL>
+</BLOCKQUOTE>
+<H3>
+Class/Interface</H3>
+<BLOCKQUOTE>
+
+<P>
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:<UL>
+<LI>Class inheritance diagram<LI>Direct Subclasses<LI>All Known Subinterfaces<LI>All Known Implementing Classes<LI>Class/interface declaration<LI>Class/interface description
+<P>
+<LI>Nested Class Summary<LI>Field Summary<LI>Constructor Summary<LI>Method Summary
+<P>
+<LI>Field Detail<LI>Constructor Detail<LI>Method Detail</UL>
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</BLOCKQUOTE>
+</BLOCKQUOTE>
+<H3>
+Annotation Type</H3>
+<BLOCKQUOTE>
+
+<P>
+Each annotation type has its own separate page with the following sections:<UL>
+<LI>Annotation Type declaration<LI>Annotation Type description<LI>Required Element Summary<LI>Optional Element Summary<LI>Element Detail</UL>
+</BLOCKQUOTE>
+</BLOCKQUOTE>
+<H3>
+Enum</H3>
+<BLOCKQUOTE>
+
+<P>
+Each enum has its own separate page with the following sections:<UL>
+<LI>Enum declaration<LI>Enum description<LI>Enum Constant Summary<LI>Enum Constant Detail</UL>
+</BLOCKQUOTE>
+<H3>
+Use</H3>
+<BLOCKQUOTE>
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.</BLOCKQUOTE>
+<H3>
+Tree (Class Hierarchy)</H3>
+<BLOCKQUOTE>
+There is a <A HREF="overview-tree.html">Class Hierarchy</A> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.<UL>
+<LI>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.<LI>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</UL>
+</BLOCKQUOTE>
+<H3>
+Deprecated API</H3>
+<BLOCKQUOTE>
+The <A HREF="deprecated-list.html">Deprecated API</A> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</BLOCKQUOTE>
+<H3>
+Index</H3>
+<BLOCKQUOTE>
+The <A HREF="index-all.html">Index</A> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</BLOCKQUOTE>
+<H3>
+Prev/Next</H3>
+These links take you to the next or previous class, interface, package, or related page.<H3>
+Frames/No Frames</H3>
+These links show and hide the HTML frames. All pages are available with or without frames.
+<P>
+<H3>
+Serialized Form</H3>
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+<P>
+<H3>
+Constant Field Values</H3>
+The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.
+<P>
+<FONT SIZE="-1">
+<EM>
+This help file applies to API documentation generated using the standard doclet.</EM>
+</FONT>
+<BR>
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?help-doc.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="help-doc.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+<i>Copyright © 2006 Rackspace Corp. All Rights Reserved.</i>
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/help-doc.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/index-all.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/index-all.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/index-all.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,563 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 13 12:41:05 CDT 2006 -->
+<TITLE>
+Index (rules repository API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="./stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Index (rules repository API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="./index.html?index-all.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="index-all.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="./allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="./allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<A HREF="#_A_">A</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_I_">I</A> <A HREF="#_L_">L</A> <A HREF="#_N_">N</A> <A HREF="#_O_">O</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_U_">U</A> <HR>
+<A NAME="_A_"><!-- --></A><H2>
+<B>A</B></H2>
+<DL>
+<DT><A HREF="./org/drools/repository/RulesRepository.html#addDslFromFile(java.io.File)"><B>addDslFromFile(File)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>Adds a DSL node in the repository using the content and attributes of the specified file
+<DT><A HREF="./org/drools/repository/RulesRepository.html#addNodeIfNew(javax.jcr.Node, java.lang.String, java.lang.String)"><B>addNodeIfNew(Node, String, String)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>Will add a node named 'nodeName' of type 'type' to 'parent' if such a node does not already
+ exist.
+<DT><A HREF="./org/drools/repository/RulePackageItem.html#addRule(org.drools.repository.RuleItem)"><B>addRule(RuleItem)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulePackageItem.html" title="class in org.drools.repository">RulePackageItem</A>
+<DD>Adds a rule to the rule package node this object represents.
+<DT><A HREF="./org/drools/repository/RulePackageItem.html#addRule(org.drools.repository.RuleItem, boolean)"><B>addRule(RuleItem, boolean)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulePackageItem.html" title="class in org.drools.repository">RulePackageItem</A>
+<DD>Adds a rule to the rule package node this object represents.
+<DT><A HREF="./org/drools/repository/RulesRepository.html#addRuleFromFile(java.io.File)"><B>addRuleFromFile(File)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>Adds a Rule node in the repository using the content and attributes of the specified file
+<DT><A HREF="./org/drools/repository/RulesRepository.html#addRuleFromFile(java.io.File, org.drools.repository.DslItem)"><B>addRuleFromFile(File, DslItem)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>Adds a Rule node in the repository using the content and attributes of the specified file.
+<DT><A HREF="./org/drools/repository/RulesRepository.html#addRuleFromFile(java.io.File, org.drools.repository.DslItem, boolean)"><B>addRuleFromFile(File, DslItem, boolean)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>Adds a Rule node in the repository using the content and attributes of the specified file.
+<DT><A HREF="./org/drools/repository/RuleItem.html#addTag(java.lang.String)"><B>addTag(String)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A>
+<DD>Adds the specified tag to this object's rule node.
+<DT><A HREF="./org/drools/repository/test/AllTests.html" title="class in org.drools.repository.test"><B>AllTests</B></A> - Class in <A HREF="./org/drools/repository/test/package-summary.html">org.drools.repository.test</A><DD> <DT><A HREF="./org/drools/repository/test/AllTests.html#AllTests()"><B>AllTests()</B></A> -
+Constructor for class org.drools.repository.test.<A HREF="./org/drools/repository/test/AllTests.html" title="class in org.drools.repository.test">AllTests</A>
+<DD>
+</DL>
+<HR>
+<A NAME="_C_"><!-- --></A><H2>
+<B>C</B></H2>
+<DL>
+<DT><A HREF="./org/drools/repository/RulesRepository.html#clearRepository()"><B>clearRepository()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>Clears out the entire tree below the rules repository node of the JCR repository.
+<DT><A HREF="./org/drools/repository/RulesRepository.html#createRulePackage(java.lang.String)"><B>createRulePackage(String)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>Adds a rule package node in the repository.
+</DL>
+<HR>
+<A NAME="_D_"><!-- --></A><H2>
+<B>D</B></H2>
+<DL>
+<DT><A HREF="./org/drools/repository/RulesRepository.html#DSL_AREA"><B>DSL_AREA</B></A> -
+Static variable in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>The name of the DSL area of the repository
+<DT><A HREF="./org/drools/repository/DslItem.html#DSL_NODE_TYPE_NAME"><B>DSL_NODE_TYPE_NAME</B></A> -
+Static variable in class org.drools.repository.<A HREF="./org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A>
+<DD>The name of the DSL node type
+<DT><A HREF="./org/drools/repository/RuleItem.html#DSL_PROPERTY_NAME"><B>DSL_PROPERTY_NAME</B></A> -
+Static variable in class org.drools.repository.<A HREF="./org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A>
+<DD>The name of the DSL property on the rule node type
+<DT><A HREF="./org/drools/repository/DslItem.html" title="class in org.drools.repository"><B>DslItem</B></A> - Class in <A HREF="./org/drools/repository/package-summary.html">org.drools.repository</A><DD>The DslItem is used to abstract away details of the JCR repository<DT><A HREF="./org/drools/repository/DslItem.html#DslItem(org.drools.repository.RulesRepository, javax.jcr.Node)"><B>DslItem(RulesRepository, Node)</B></A> -
+Constructor for class org.drools.repository.<A HREF="./org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A>
+<DD>Constructs a DslItem object with the specified node as its node attribute
+<DT><A HREF="./org/drools/repository/test/DslItemTestCase.html" title="class in org.drools.repository.test"><B>DslItemTestCase</B></A> - Class in <A HREF="./org/drools/repository/test/package-summary.html">org.drools.repository.test</A><DD> <DT><A HREF="./org/drools/repository/test/DslItemTestCase.html#DslItemTestCase()"><B>DslItemTestCase()</B></A> -
+Constructor for class org.drools.repository.test.<A HREF="./org/drools/repository/test/DslItemTestCase.html" title="class in org.drools.repository.test">DslItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/RulesRepository.html#dumpRepository()"><B>dumpRepository()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>Recursively outputs the contents of the workspace starting from root.
+</DL>
+<HR>
+<A NAME="_E_"><!-- --></A><H2>
+<B>E</B></H2>
+<DL>
+<DT><A HREF="./org/drools/repository/Item.html#equals(java.lang.Object)"><B>equals(Object)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/Item.html" title="class in org.drools.repository">Item</A>
+<DD>
+</DL>
+<HR>
+<A NAME="_G_"><!-- --></A><H2>
+<B>G</B></H2>
+<DL>
+<DT><A HREF="./org/drools/repository/TagItem.html#getChildTag(java.lang.String)"><B>getChildTag(String)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/TagItem.html" title="class in org.drools.repository">TagItem</A>
+<DD>Gets a TagItem object encapsulating the specified child tag.
+<DT><A HREF="./org/drools/repository/TagItem.html#getChildTags()"><B>getChildTags()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/TagItem.html" title="class in org.drools.repository">TagItem</A>
+<DD>
+<DT><A HREF="./org/drools/repository/DslItem.html#getContent()"><B>getContent()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A>
+<DD>returns the content of this object's dsl node
+<DT><A HREF="./org/drools/repository/RuleItem.html#getContent()"><B>getContent()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A>
+<DD>returns the content of this object's rule node
+<DT><A HREF="./org/drools/repository/RuleItem.html#getDsl()"><B>getDsl()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A>
+<DD>Gets a DslItem object corresponding to the DSL reference from the node that this object
+ encapsulates.
+<DT><A HREF="./org/drools/repository/TagItem.html#getFullPath()"><B>getFullPath()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/TagItem.html" title="class in org.drools.repository">TagItem</A>
+<DD>
+<DT><A HREF="./org/drools/repository/Item.html#getName()"><B>getName()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/Item.html" title="class in org.drools.repository">Item</A>
+<DD>gets the name of the node that this item encapsulates
+<DT><A HREF="./org/drools/repository/Item.html#getNode()"><B>getNode()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/Item.html" title="class in org.drools.repository">Item</A>
+<DD>gets the node in the repository that this item is associated with
+<DT><A HREF="./org/drools/repository/RulePackageItem.html#getRules()"><B>getRules()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulePackageItem.html" title="class in org.drools.repository">RulePackageItem</A>
+<DD>Gets a list of RuleItem objects for each rule node in this rule package
+<DT><A HREF="./org/drools/repository/Item.html#getRulesRepository()"><B>getRulesRepository()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/Item.html" title="class in org.drools.repository">Item</A>
+<DD>
+<DT><A HREF="./org/drools/repository/RuleItem.html#getState()"><B>getState()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A>
+<DD>Gets StateItem object corresponding to the state property of this object's node
+<DT><A HREF="./org/drools/repository/RulesRepository.html#getState(java.lang.String)"><B>getState(String)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>Gets a StateItem for the specified state name.
+<DT><A HREF="./org/drools/repository/RulesRepository.html#getTag(java.lang.String)"><B>getTag(String)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>Gets a TagItem object that encapsulates the node for the specified tag name.
+<DT><A HREF="./org/drools/repository/RuleItem.html#getTags()"><B>getTags()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A>
+<DD>Gets a list of TagItem objects for this object's rule node.
+</DL>
+<HR>
+<A NAME="_H_"><!-- --></A><H2>
+<B>H</B></H2>
+<DL>
+<DT><A HREF="./org/drools/repository/Item.html#hashCode()"><B>hashCode()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/Item.html" title="class in org.drools.repository">Item</A>
+<DD>
+</DL>
+<HR>
+<A NAME="_I_"><!-- --></A><H2>
+<B>I</B></H2>
+<DL>
+<DT><A HREF="./org/drools/repository/Item.html" title="class in org.drools.repository"><B>Item</B></A> - Class in <A HREF="./org/drools/repository/package-summary.html">org.drools.repository</A><DD>The item class is used to abstract away the underlying details of the JCR repository.<DT><A HREF="./org/drools/repository/Item.html#Item(org.drools.repository.RulesRepository, javax.jcr.Node)"><B>Item(RulesRepository, Node)</B></A> -
+Constructor for class org.drools.repository.<A HREF="./org/drools/repository/Item.html" title="class in org.drools.repository">Item</A>
+<DD>Sets the item object's node attribute to the specified node
+</DL>
+<HR>
+<A NAME="_L_"><!-- --></A><H2>
+<B>L</B></H2>
+<DL>
+<DT><A HREF="./org/drools/repository/RulesRepository.html#logout()"><B>logout()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>Explicitly logout of the underlying JCR repository.
+</DL>
+<HR>
+<A NAME="_N_"><!-- --></A><H2>
+<B>N</B></H2>
+<DL>
+<DT><A HREF="./org/drools/repository/Item.html#node"><B>node</B></A> -
+Variable in class org.drools.repository.<A HREF="./org/drools/repository/Item.html" title="class in org.drools.repository">Item</A>
+<DD>The node within the repository that this item corresponds to
+</DL>
+<HR>
+<A NAME="_O_"><!-- --></A><H2>
+<B>O</B></H2>
+<DL>
+<DT><A HREF="./org/drools/repository/package-summary.html"><B>org.drools.repository</B></A> - package org.drools.repository<DD> <DT><A HREF="./org/drools/repository/test/package-summary.html"><B>org.drools.repository.test</B></A> - package org.drools.repository.test<DD> </DL>
+<HR>
+<A NAME="_R_"><!-- --></A><H2>
+<B>R</B></H2>
+<DL>
+<DT><A HREF="./org/drools/repository/RulePackageItem.html#removeAllRules()"><B>removeAllRules()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulePackageItem.html" title="class in org.drools.repository">RulePackageItem</A>
+<DD>Removes all rules from the rule package
+<DT><A HREF="./org/drools/repository/RuleItem.html#removeTag(java.lang.String)"><B>removeTag(String)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A>
+<DD>Removes the specified tag from this object's rule node.
+<DT><A HREF="./org/drools/repository/RulesRepository.html#RULE_AREA"><B>RULE_AREA</B></A> -
+Static variable in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>The name of the rule area of the repository
+<DT><A HREF="./org/drools/repository/RuleItem.html#RULE_NODE_TYPE_NAME"><B>RULE_NODE_TYPE_NAME</B></A> -
+Static variable in class org.drools.repository.<A HREF="./org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A>
+<DD>The name of the rule node type
+<DT><A HREF="./org/drools/repository/RulesRepository.html#RULE_PACKAGE_AREA"><B>RULE_PACKAGE_AREA</B></A> -
+Static variable in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>The name of the rulepackage area of the repository
+<DT><A HREF="./org/drools/repository/RulePackageItem.html#RULE_PACKAGE_TYPE_NAME"><B>RULE_PACKAGE_TYPE_NAME</B></A> -
+Static variable in class org.drools.repository.<A HREF="./org/drools/repository/RulePackageItem.html" title="class in org.drools.repository">RulePackageItem</A>
+<DD>The name of the rule package node type
+<DT><A HREF="./org/drools/repository/RulePackageItem.html#RULE_REFERENCE_PROPERTY_NAME"><B>RULE_REFERENCE_PROPERTY_NAME</B></A> -
+Static variable in class org.drools.repository.<A HREF="./org/drools/repository/RulePackageItem.html" title="class in org.drools.repository">RulePackageItem</A>
+<DD>The name of the reference property on the rulepackage_node_type type node that objects of
+ this type hold a reference to
+<DT><A HREF="./org/drools/repository/RuleItem.html" title="class in org.drools.repository"><B>RuleItem</B></A> - Class in <A HREF="./org/drools/repository/package-summary.html">org.drools.repository</A><DD>The RuleItem class is used to abstract away the details of the underlying JCR repository.<DT><A HREF="./org/drools/repository/RuleItem.html#RuleItem(org.drools.repository.RulesRepository, javax.jcr.Node)"><B>RuleItem(RulesRepository, Node)</B></A> -
+Constructor for class org.drools.repository.<A HREF="./org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A>
+<DD>Constructs a RuleItem object, setting its node attribute to the specified node.
+<DT><A HREF="./org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test"><B>RuleItemTestCase</B></A> - Class in <A HREF="./org/drools/repository/test/package-summary.html">org.drools.repository.test</A><DD> <DT><A HREF="./org/drools/repository/test/RuleItemTestCase.html#RuleItemTestCase()"><B>RuleItemTestCase()</B></A> -
+Constructor for class org.drools.repository.test.<A HREF="./org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test">RuleItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/RulePackageItem.html" title="class in org.drools.repository"><B>RulePackageItem</B></A> - Class in <A HREF="./org/drools/repository/package-summary.html">org.drools.repository</A><DD>A ruleSet object aggregates a set of rules.<DT><A HREF="./org/drools/repository/RulePackageItem.html#RulePackageItem(org.drools.repository.RulesRepository, javax.jcr.Node)"><B>RulePackageItem(RulesRepository, Node)</B></A> -
+Constructor for class org.drools.repository.<A HREF="./org/drools/repository/RulePackageItem.html" title="class in org.drools.repository">RulePackageItem</A>
+<DD>Constructs an object of type RulePackageItem corresponding the specified node
+<DT><A HREF="./org/drools/repository/test/RulePackageItemTestCase.html" title="class in org.drools.repository.test"><B>RulePackageItemTestCase</B></A> - Class in <A HREF="./org/drools/repository/test/package-summary.html">org.drools.repository.test</A><DD> <DT><A HREF="./org/drools/repository/test/RulePackageItemTestCase.html#RulePackageItemTestCase()"><B>RulePackageItemTestCase()</B></A> -
+Constructor for class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulePackageItemTestCase.html" title="class in org.drools.repository.test">RulePackageItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/RulesRepository.html#RULES_REPOSITORY_NAME"><B>RULES_REPOSITORY_NAME</B></A> -
+Static variable in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>The name of the rules repository within the JCR repository
+<DT><A HREF="./org/drools/repository/Item.html#rulesRepository"><B>rulesRepository</B></A> -
+Variable in class org.drools.repository.<A HREF="./org/drools/repository/Item.html" title="class in org.drools.repository">Item</A>
+<DD>The RulesRepository object that this object was created from
+<DT><A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository"><B>RulesRepository</B></A> - Class in <A HREF="./org/drools/repository/package-summary.html">org.drools.repository</A><DD>RulesRepository is the class that defines the bahavior for the JBoss Rules (drools) rule repository
+ based upon the JCR specification (JSR-170).<DT><A HREF="./org/drools/repository/RulesRepository.html#RulesRepository()"><B>RulesRepository()</B></A> -
+Constructor for class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>This will create the JCR repository automatically if it does not already exist.
+<DT><A HREF="./org/drools/repository/RulesRepository.html#RulesRepository(boolean)"><B>RulesRepository(boolean)</B></A> -
+Constructor for class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>This will create the JCR repository automatically if it does not already exist.
+<DT><A HREF="./org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository"><B>RulesRepositoryException</B></A> - Exception in <A HREF="./org/drools/repository/package-summary.html">org.drools.repository</A><DD>The main exception thrown by classes in this package.<DT><A HREF="./org/drools/repository/RulesRepositoryException.html#RulesRepositoryException()"><B>RulesRepositoryException()</B></A> -
+Constructor for exception org.drools.repository.<A HREF="./org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A>
+<DD>Default constructor.
+<DT><A HREF="./org/drools/repository/RulesRepositoryException.html#RulesRepositoryException(java.lang.String)"><B>RulesRepositoryException(String)</B></A> -
+Constructor for exception org.drools.repository.<A HREF="./org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A>
+<DD>Constructs a new instance of this class with the specified detail message.
+<DT><A HREF="./org/drools/repository/RulesRepositoryException.html#RulesRepositoryException(java.lang.Throwable)"><B>RulesRepositoryException(Throwable)</B></A> -
+Constructor for exception org.drools.repository.<A HREF="./org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A>
+<DD>Constructs a new instance of this class with the specified root cause.
+<DT><A HREF="./org/drools/repository/RulesRepositoryException.html#RulesRepositoryException(java.lang.String, java.lang.Throwable)"><B>RulesRepositoryException(String, Throwable)</B></A> -
+Constructor for exception org.drools.repository.<A HREF="./org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A>
+<DD>Constructs a new instance of this class with the specified detail message and root cause.
+<DT><A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html" title="class in org.drools.repository.test"><B>RulesRepositoryTestCase</B></A> - Class in <A HREF="./org/drools/repository/test/package-summary.html">org.drools.repository.test</A><DD> <DT><A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html#RulesRepositoryTestCase()"><B>RulesRepositoryTestCase()</B></A> -
+Constructor for class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html" title="class in org.drools.repository.test">RulesRepositoryTestCase</A>
+<DD>
+</DL>
+<HR>
+<A NAME="_S_"><!-- --></A><H2>
+<B>S</B></H2>
+<DL>
+<DT><A HREF="./org/drools/repository/RuleItem.html#setState(java.lang.String)"><B>setState(String)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A>
+<DD>Sets this object's rule node's state property to refer to the specified state node
+<DT><A HREF="./org/drools/repository/RuleItem.html#setState(org.drools.repository.StateItem)"><B>setState(StateItem)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A>
+<DD>Sets this object's rule node's state property to refer to the specified StateItem's node
+<DT><A HREF="./org/drools/repository/test/DslItemTestCase.html#setUp()"><B>setUp()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/DslItemTestCase.html" title="class in org.drools.repository.test">DslItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RuleItemTestCase.html#setUp()"><B>setUp()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test">RuleItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulePackageItemTestCase.html#setUp()"><B>setUp()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulePackageItemTestCase.html" title="class in org.drools.repository.test">RulePackageItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html#setUp()"><B>setUp()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html" title="class in org.drools.repository.test">RulesRepositoryTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/StateItemTestCase.html#setUp()"><B>setUp()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/StateItemTestCase.html" title="class in org.drools.repository.test">StateItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/TagItemTestCase.html#setUp()"><B>setUp()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/TagItemTestCase.html" title="class in org.drools.repository.test">TagItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/RulesRepository.html#setupRepository()"><B>setupRepository()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>Attempts to setup the repository.
+<DT><A HREF="./org/drools/repository/RulesRepository.html#STATE_AREA"><B>STATE_AREA</B></A> -
+Static variable in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>The name of the state area of the repository
+<DT><A HREF="./org/drools/repository/StateItem.html#STATE_NODE_TYPE_NAME"><B>STATE_NODE_TYPE_NAME</B></A> -
+Static variable in class org.drools.repository.<A HREF="./org/drools/repository/StateItem.html" title="class in org.drools.repository">StateItem</A>
+<DD>The name of the state node type
+<DT><A HREF="./org/drools/repository/RuleItem.html#STATE_PROPERTY_NAME"><B>STATE_PROPERTY_NAME</B></A> -
+Static variable in class org.drools.repository.<A HREF="./org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A>
+<DD>The name of the state property on the rule node type
+<DT><A HREF="./org/drools/repository/StateItem.html" title="class in org.drools.repository"><B>StateItem</B></A> - Class in <A HREF="./org/drools/repository/package-summary.html">org.drools.repository</A><DD>The StateItem class abstracts away details of the underlying JCR repository.<DT><A HREF="./org/drools/repository/StateItem.html#StateItem(org.drools.repository.RulesRepository, javax.jcr.Node)"><B>StateItem(RulesRepository, Node)</B></A> -
+Constructor for class org.drools.repository.<A HREF="./org/drools/repository/StateItem.html" title="class in org.drools.repository">StateItem</A>
+<DD>Constructs an object of type StateItem corresponding the specified node
+<DT><A HREF="./org/drools/repository/test/StateItemTestCase.html" title="class in org.drools.repository.test"><B>StateItemTestCase</B></A> - Class in <A HREF="./org/drools/repository/test/package-summary.html">org.drools.repository.test</A><DD> <DT><A HREF="./org/drools/repository/test/StateItemTestCase.html#StateItemTestCase()"><B>StateItemTestCase()</B></A> -
+Constructor for class org.drools.repository.test.<A HREF="./org/drools/repository/test/StateItemTestCase.html" title="class in org.drools.repository.test">StateItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/AllTests.html#suite()"><B>suite()</B></A> -
+Static method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/AllTests.html" title="class in org.drools.repository.test">AllTests</A>
+<DD>
+</DL>
+<HR>
+<A NAME="_T_"><!-- --></A><H2>
+<B>T</B></H2>
+<DL>
+<DT><A HREF="./org/drools/repository/RulesRepository.html#TAG_AREA"><B>TAG_AREA</B></A> -
+Static variable in class org.drools.repository.<A HREF="./org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A>
+<DD>The name of the tag area of the repository
+<DT><A HREF="./org/drools/repository/TagItem.html#TAG_NODE_TYPE_NAME"><B>TAG_NODE_TYPE_NAME</B></A> -
+Static variable in class org.drools.repository.<A HREF="./org/drools/repository/TagItem.html" title="class in org.drools.repository">TagItem</A>
+<DD>The name of the tag node type
+<DT><A HREF="./org/drools/repository/RuleItem.html#TAG_PROPERTY_NAME"><B>TAG_PROPERTY_NAME</B></A> -
+Static variable in class org.drools.repository.<A HREF="./org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A>
+<DD>The name of the tag property on the rule node type
+<DT><A HREF="./org/drools/repository/TagItem.html" title="class in org.drools.repository"><B>TagItem</B></A> - Class in <A HREF="./org/drools/repository/package-summary.html">org.drools.repository</A><DD>The TagItem class abstracts away details of the underlying JCR repository.<DT><A HREF="./org/drools/repository/TagItem.html#TagItem(org.drools.repository.RulesRepository, javax.jcr.Node)"><B>TagItem(RulesRepository, Node)</B></A> -
+Constructor for class org.drools.repository.<A HREF="./org/drools/repository/TagItem.html" title="class in org.drools.repository">TagItem</A>
+<DD>Constructs an object of type TagItem corresponding the specified node
+<DT><A HREF="./org/drools/repository/test/TagItemTestCase.html" title="class in org.drools.repository.test"><B>TagItemTestCase</B></A> - Class in <A HREF="./org/drools/repository/test/package-summary.html">org.drools.repository.test</A><DD> <DT><A HREF="./org/drools/repository/test/TagItemTestCase.html#TagItemTestCase()"><B>TagItemTestCase()</B></A> -
+Constructor for class org.drools.repository.test.<A HREF="./org/drools/repository/test/TagItemTestCase.html" title="class in org.drools.repository.test">TagItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/DslItemTestCase.html#tearDown()"><B>tearDown()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/DslItemTestCase.html" title="class in org.drools.repository.test">DslItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RuleItemTestCase.html#tearDown()"><B>tearDown()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test">RuleItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulePackageItemTestCase.html#tearDown()"><B>tearDown()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulePackageItemTestCase.html" title="class in org.drools.repository.test">RulePackageItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html#tearDown()"><B>tearDown()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html" title="class in org.drools.repository.test">RulesRepositoryTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/StateItemTestCase.html#tearDown()"><B>tearDown()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/StateItemTestCase.html" title="class in org.drools.repository.test">StateItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/TagItemTestCase.html#tearDown()"><B>tearDown()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/TagItemTestCase.html" title="class in org.drools.repository.test">TagItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html#testAddDslFromFile()"><B>testAddDslFromFile()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html" title="class in org.drools.repository.test">RulesRepositoryTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html#testAddRuleFromFileFile()"><B>testAddRuleFromFileFile()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html" title="class in org.drools.repository.test">RulesRepositoryTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html#testAddRuleFromFileFileDslItem()"><B>testAddRuleFromFileFileDslItem()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html" title="class in org.drools.repository.test">RulesRepositoryTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html#testAddRuleFromFileFileDslItemBoolean()"><B>testAddRuleFromFileFileDslItemBoolean()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html" title="class in org.drools.repository.test">RulesRepositoryTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulePackageItemTestCase.html#testAddRuleRuleItem()"><B>testAddRuleRuleItem()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulePackageItemTestCase.html" title="class in org.drools.repository.test">RulePackageItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulePackageItemTestCase.html#testAddRuleRuleItemBoolean()"><B>testAddRuleRuleItemBoolean()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulePackageItemTestCase.html" title="class in org.drools.repository.test">RulePackageItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RuleItemTestCase.html#testAddTag()"><B>testAddTag()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test">RuleItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html#testCreateRulePackage()"><B>testCreateRulePackage()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html" title="class in org.drools.repository.test">RulesRepositoryTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/DslItemTestCase.html#testDslItem()"><B>testDslItem()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/DslItemTestCase.html" title="class in org.drools.repository.test">DslItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/TagItemTestCase.html#testGetChildTag()"><B>testGetChildTag()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/TagItemTestCase.html" title="class in org.drools.repository.test">TagItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/TagItemTestCase.html#testGetChildTags()"><B>testGetChildTags()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/TagItemTestCase.html" title="class in org.drools.repository.test">TagItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/DslItemTestCase.html#testGetContent()"><B>testGetContent()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/DslItemTestCase.html" title="class in org.drools.repository.test">DslItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RuleItemTestCase.html#testGetContent()"><B>testGetContent()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test">RuleItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/TagItemTestCase.html#testGetFullPath()"><B>testGetFullPath()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/TagItemTestCase.html" title="class in org.drools.repository.test">TagItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulePackageItemTestCase.html#testGetRules()"><B>testGetRules()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulePackageItemTestCase.html" title="class in org.drools.repository.test">RulePackageItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RuleItemTestCase.html#testGetState()"><B>testGetState()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test">RuleItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html#testGetState()"><B>testGetState()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html" title="class in org.drools.repository.test">RulesRepositoryTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html#testGetTag()"><B>testGetTag()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html" title="class in org.drools.repository.test">RulesRepositoryTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RuleItemTestCase.html#testGetTags()"><B>testGetTags()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test">RuleItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html#testLogout()"><B>testLogout()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html" title="class in org.drools.repository.test">RulesRepositoryTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RuleItemTestCase.html#testRemoveTag()"><B>testRemoveTag()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test">RuleItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RuleItemTestCase.html#testRuleItem()"><B>testRuleItem()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test">RuleItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulePackageItemTestCase.html#testRulePackageItem()"><B>testRulePackageItem()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulePackageItemTestCase.html" title="class in org.drools.repository.test">RulePackageItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html#testRulesRepository()"><B>testRulesRepository()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulesRepositoryTestCase.html" title="class in org.drools.repository.test">RulesRepositoryTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RuleItemTestCase.html#testSetStateStateItem()"><B>testSetStateStateItem()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test">RuleItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RuleItemTestCase.html#testSetStateString()"><B>testSetStateString()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test">RuleItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/StateItemTestCase.html#testStateItem()"><B>testStateItem()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/StateItemTestCase.html" title="class in org.drools.repository.test">StateItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/TagItemTestCase.html#testTagItem()"><B>testTagItem()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/TagItemTestCase.html" title="class in org.drools.repository.test">TagItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RuleItemTestCase.html#testToString()"><B>testToString()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test">RuleItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RulePackageItemTestCase.html#testToString()"><B>testToString()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RulePackageItemTestCase.html" title="class in org.drools.repository.test">RulePackageItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/test/RuleItemTestCase.html#testUpdateContentFromFile()"><B>testUpdateContentFromFile()</B></A> -
+Method in class org.drools.repository.test.<A HREF="./org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test">RuleItemTestCase</A>
+<DD>
+<DT><A HREF="./org/drools/repository/DslItem.html#toString()"><B>toString()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A>
+<DD>Nicely formats the information contained by the node that this object encapsulates
+<DT><A HREF="./org/drools/repository/RuleItem.html#toString()"><B>toString()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A>
+<DD>Nicely formats the information contained by the node that this object encapsulates
+<DT><A HREF="./org/drools/repository/RulePackageItem.html#toString()"><B>toString()</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RulePackageItem.html" title="class in org.drools.repository">RulePackageItem</A>
+<DD>Nicely formats the information contained by the node that this object encapsulates
+</DL>
+<HR>
+<A NAME="_U_"><!-- --></A><H2>
+<B>U</B></H2>
+<DL>
+<DT><A HREF="./org/drools/repository/DslItem.html#updateContentFromFile(java.io.File)"><B>updateContentFromFile(File)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A>
+<DD>Creates a new version of this object's dsl node, using the content and attributes of the
+ specified file.
+<DT><A HREF="./org/drools/repository/RuleItem.html#updateContentFromFile(java.io.File)"><B>updateContentFromFile(File)</B></A> -
+Method in class org.drools.repository.<A HREF="./org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A>
+<DD>Creates a new version of this object's rule node, using the content and attributes of the
+ specified file.
+</DL>
+<HR>
+<A HREF="#_A_">A</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_I_">I</A> <A HREF="#_L_">L</A> <A HREF="#_N_">N</A> <A HREF="#_O_">O</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_U_">U</A>
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="./index.html?index-all.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="index-all.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="./allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="./allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+<i>Copyright © 2006 Rackspace Corp. All Rights Reserved.</i>
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/index-all.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/index.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/index.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/index.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,37 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc on Sun Aug 13 12:41:05 CDT 2006-->
+<TITLE>
+rules repository API
+</TITLE>
+<SCRIPT type="text/javascript">
+ targetPage = "" + window.location.search;
+ if (targetPage != "" && targetPage != "undefined")
+ targetPage = targetPage.substring(1);
+ function loadFrames() {
+ if (targetPage != "" && targetPage != "undefined")
+ top.classFrame.location = top.targetPage;
+ }
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+</HEAD>
+<FRAMESET cols="20%,80%" title="" onLoad="top.loadFrames()">
+<FRAMESET rows="30%,70%" title="" onLoad="top.loadFrames()">
+<FRAME src="overview-frame.html" name="packageListFrame" title="All Packages">
+<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
+</FRAMESET>
+<FRAME src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
+<NOFRAMES>
+<H2>
+Frame Alert</H2>
+
+<P>
+This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
+<BR>
+Link to<A HREF="overview-summary.html">Non-frame version.</A>
+</NOFRAMES>
+</FRAMESET>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/index.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/RuleSet.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/RuleSet.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/RuleSet.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,387 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Thu Aug 03 00:06:11 CDT 2006 -->
+<TITLE>
+RuleSet (rules repository API)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.drools.repository.RuleSet class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="RuleSet (rules repository API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/drools/repository/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RuleSet.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV CLASS
+ <A HREF="../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?org/drools/repository/RuleSet.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="RuleSet.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.drools.repository</FONT>
+<BR>
+Class RuleSet</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.drools.repository.RuleSet</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>RuleSet</B><DT>extends java.lang.Object</DL>
+</PRE>
+
+<P>
+A ruleSet object aggregates a set of rules. This is advantageous for systems using the JBoss Rules
+ engine where the application might make use of many related rules.
+ <p>
+ A rule set refers to rule nodes within the RulesRepository. It can either have the reference to a
+ specific rule follow the head version of that rule, or have this reference continue to refer to
+ a specific version of that rule even when a new version of the rule is checked into the repository
+<P>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>btruitt</DD>
+</DL>
+<HR>
+
+<P>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../org/drools/repository/RuleSet.html#RuleSet(java.lang.String)">RuleSet</A></B>(java.lang.String name)</CODE>
+
+<BR>
+ Constructs an object of type RuleSet with the specified name</TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RuleSet.html#addRule(javax.jcr.Node)">addRule</A></B>(javax.jcr.Node ruleNode)</CODE>
+
+<BR>
+ Adds a ruleNode to the ruleSet.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RuleSet.html#addRule(javax.jcr.Node, boolean)">addRule</A></B>(javax.jcr.Node ruleNode,
+ boolean followRuleHead)</CODE>
+
+<BR>
+ Adds a ruleNode to the ruleSet.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RuleSet.html#getName()">getName</A></B>()</CODE>
+
+<BR>
+ Gets the name of this RuleSet</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RuleSet.html#getPath()">getPath</A></B>()</CODE>
+
+<BR>
+ Gets the path to the node corresponding to this ruleset within the RulesRepository.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.util.List</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RuleSet.html#getRules()">getRules</A></B>()</CODE>
+
+<BR>
+ Gets the list of ruleNodes in this ruleSet</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RuleSet.html#setName(java.lang.String)">setName</A></B>(java.lang.String name)</CODE>
+
+<BR>
+ Sets the name of this RuleSet</TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="RuleSet(java.lang.String)"><!-- --></A><H3>
+RuleSet</H3>
+<PRE>
+public <B>RuleSet</B>(java.lang.String name)</PRE>
+<DL>
+<DD>Constructs an object of type RuleSet with the specified name
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name for the RuleSet object</DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="getPath()"><!-- --></A><H3>
+getPath</H3>
+<PRE>
+public java.lang.String <B>getPath</B>()</PRE>
+<DL>
+<DD>Gets the path to the node corresponding to this ruleset within the RulesRepository. Note that the
+ node need not exist already.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the path to the corresponding node in the RulesRepository</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addRule(javax.jcr.Node)"><!-- --></A><H3>
+addRule</H3>
+<PRE>
+public void <B>addRule</B>(javax.jcr.Node ruleNode)
+ throws <A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></PRE>
+<DL>
+<DD>Adds a ruleNode to the ruleSet. The reference to the ruleNode will follow the head version
+ of the specified ruleNode.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>ruleNode</CODE> - the ruleNode to add to this RuleSet
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addRule(javax.jcr.Node, boolean)"><!-- --></A><H3>
+addRule</H3>
+<PRE>
+public void <B>addRule</B>(javax.jcr.Node ruleNode,
+ boolean followRuleHead)
+ throws <A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></PRE>
+<DL>
+<DD>Adds a ruleNode to the ruleSet. The reference to the ruleNode will optionally follow the
+ head version of the specified ruleNode or the specific current version.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>ruleNode</CODE> - the ruleNode to add to this RuleSet<DD><CODE>followRuleHead</CODE> - if true, the reference to 'ruleNode' will follow the head version of the
+ node, even if new versions are added. If false, will refer specifically
+ to the current version.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getRules()"><!-- --></A><H3>
+getRules</H3>
+<PRE>
+public java.util.List <B>getRules</B>()</PRE>
+<DL>
+<DD>Gets the list of ruleNodes in this ruleSet
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the List object holding the ruleNode objects in this RuleSet object</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getName()"><!-- --></A><H3>
+getName</H3>
+<PRE>
+public java.lang.String <B>getName</B>()</PRE>
+<DL>
+<DD>Gets the name of this RuleSet
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the name of this RuleSet object</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setName(java.lang.String)"><!-- --></A><H3>
+setName</H3>
+<PRE>
+public void <B>setName</B>(java.lang.String name)</PRE>
+<DL>
+<DD>Sets the name of this RuleSet
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name to use for this RuleSet object</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/drools/repository/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RuleSet.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV CLASS
+ <A HREF="../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?org/drools/repository/RuleSet.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="RuleSet.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+<i>Copyright © 2006 Rackspace Corp. All Rights Reserved.</i>
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/RuleSet.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/RulesRepository.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/RulesRepository.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/RulesRepository.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,740 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 13 12:41:03 CDT 2006 -->
+<TITLE>
+RulesRepository (rules repository API)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.drools.repository.RulesRepository class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="RulesRepository (rules repository API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RulesRepository.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../org/drools/repository/RulePackageItem.html" title="class in org.drools.repository"><B>PREV CLASS</B></A>
+ <A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?org/drools/repository/RulesRepository.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="RulesRepository.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.drools.repository</FONT>
+<BR>
+Class RulesRepository</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.drools.repository.RulesRepository</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>RulesRepository</B><DT>extends java.lang.Object</DL>
+</PRE>
+
+<P>
+RulesRepository is the class that defines the bahavior for the JBoss Rules (drools) rule repository
+ based upon the JCR specification (JSR-170).
+ <p>
+ An instance of this class is capable of storing rules used by the JBoss Rule engine. It also
+ provides a versioning capability for rules. Rules can be imported from specified files. The
+ RulesRepository is also capable of storing DSL content. Rules can be explicitly tied to a
+ particular DSL node within the repository, and this reference can either follow the head version,
+ or a specific version of the DSL node.
+ <p>
+ The RulesRepository also is capable of storing RulePackages, which aggregate one or more Rules into
+ a set. RulePackages hold references to the nodes storing the content of the rules in the set within
+ the repository. Each entry in a rulepackage can either refer to the head version of the given rule
+ node, or a specific version.
+ <p>
+ Rules can be tagged. Tags are stored in a separate area of the repository, and can be added on
+ demand. Rules can have 0 or more tags. Tags are intended to help provide a means for searching
+ for specific types of rules quickly, even when they aren't all part of the same rulepackage.
+ <p>
+ Rules can be associated with 0 or 1 states. States are created in a seperate area of the
+ repository. States are intended to help track the progress of a rule as it traverses its life-
+ cycle. (e.g. draft, approved, deprecated, etc.)
+<P>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>btruitt</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#DSL_AREA">DSL_AREA</A></B></CODE>
+
+<BR>
+ The name of the DSL area of the repository</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#RULE_AREA">RULE_AREA</A></B></CODE>
+
+<BR>
+ The name of the rule area of the repository</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#RULE_PACKAGE_AREA">RULE_PACKAGE_AREA</A></B></CODE>
+
+<BR>
+ The name of the rulepackage area of the repository</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#RULES_REPOSITORY_NAME">RULES_REPOSITORY_NAME</A></B></CODE>
+
+<BR>
+ The name of the rules repository within the JCR repository</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#STATE_AREA">STATE_AREA</A></B></CODE>
+
+<BR>
+ The name of the state area of the repository</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#TAG_AREA">TAG_AREA</A></B></CODE>
+
+<BR>
+ The name of the tag area of the repository</TD>
+</TR>
+</TABLE>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#RulesRepository()">RulesRepository</A></B>()</CODE>
+
+<BR>
+ This will create the JCR repository automatically if it does not already exist.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#RulesRepository(boolean)">RulesRepository</A></B>(boolean clearRepository)</CODE>
+
+<BR>
+ This will create the JCR repository automatically if it does not already exist.</TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#addDslFromFile(java.io.File)">addDslFromFile</A></B>(java.io.File file)</CODE>
+
+<BR>
+ Adds a DSL node in the repository using the content and attributes of the specified file</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected javax.jcr.Node</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#addNodeIfNew(javax.jcr.Node, java.lang.String, java.lang.String)">addNodeIfNew</A></B>(javax.jcr.Node parent,
+ java.lang.String nodeName,
+ java.lang.String type)</CODE>
+
+<BR>
+ Will add a node named 'nodeName' of type 'type' to 'parent' if such a node does not already
+ exist.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#addRuleFromFile(java.io.File)">addRuleFromFile</A></B>(java.io.File file)</CODE>
+
+<BR>
+ Adds a Rule node in the repository using the content and attributes of the specified file</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#addRuleFromFile(java.io.File, org.drools.repository.DslItem)">addRuleFromFile</A></B>(java.io.File file,
+ <A HREF="../../../org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A> dslItem)</CODE>
+
+<BR>
+ Adds a Rule node in the repository using the content and attributes of the specified file.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#addRuleFromFile(java.io.File, org.drools.repository.DslItem, boolean)">addRuleFromFile</A></B>(java.io.File file,
+ <A HREF="../../../org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A> dslItem,
+ boolean followDslHead)</CODE>
+
+<BR>
+ Adds a Rule node in the repository using the content and attributes of the specified file.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#clearRepository()">clearRepository</A></B>()</CODE>
+
+<BR>
+ Clears out the entire tree below the rules repository node of the JCR repository.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../org/drools/repository/RulePackageItem.html" title="class in org.drools.repository">RulePackageItem</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#createRulePackage(java.lang.String)">createRulePackage</A></B>(java.lang.String name)</CODE>
+
+<BR>
+ Adds a rule package node in the repository.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#dumpRepository()">dumpRepository</A></B>()</CODE>
+
+<BR>
+ Recursively outputs the contents of the workspace starting from root.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../org/drools/repository/StateItem.html" title="class in org.drools.repository">StateItem</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#getState(java.lang.String)">getState</A></B>(java.lang.String name)</CODE>
+
+<BR>
+ Gets a StateItem for the specified state name.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../org/drools/repository/TagItem.html" title="class in org.drools.repository">TagItem</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#getTag(java.lang.String)">getTag</A></B>(java.lang.String tagName)</CODE>
+
+<BR>
+ Gets a TagItem object that encapsulates the node for the specified tag name.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#logout()">logout</A></B>()</CODE>
+
+<BR>
+ Explicitly logout of the underlying JCR repository.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepository.html#setupRepository()">setupRepository</A></B>()</CODE>
+
+<BR>
+ Attempts to setup the repository.</TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="RULE_PACKAGE_AREA"><!-- --></A><H3>
+RULE_PACKAGE_AREA</H3>
+<PRE>
+public static final java.lang.String <B>RULE_PACKAGE_AREA</B></PRE>
+<DL>
+<DD>The name of the rulepackage area of the repository
+<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.drools.repository.RulesRepository.RULE_PACKAGE_AREA">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="RULE_AREA"><!-- --></A><H3>
+RULE_AREA</H3>
+<PRE>
+public static final java.lang.String <B>RULE_AREA</B></PRE>
+<DL>
+<DD>The name of the rule area of the repository
+<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.drools.repository.RulesRepository.RULE_AREA">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="DSL_AREA"><!-- --></A><H3>
+DSL_AREA</H3>
+<PRE>
+public static final java.lang.String <B>DSL_AREA</B></PRE>
+<DL>
+<DD>The name of the DSL area of the repository
+<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.drools.repository.RulesRepository.DSL_AREA">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="TAG_AREA"><!-- --></A><H3>
+TAG_AREA</H3>
+<PRE>
+public static final java.lang.String <B>TAG_AREA</B></PRE>
+<DL>
+<DD>The name of the tag area of the repository
+<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.drools.repository.RulesRepository.TAG_AREA">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="STATE_AREA"><!-- --></A><H3>
+STATE_AREA</H3>
+<PRE>
+public static final java.lang.String <B>STATE_AREA</B></PRE>
+<DL>
+<DD>The name of the state area of the repository
+<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.drools.repository.RulesRepository.STATE_AREA">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="RULES_REPOSITORY_NAME"><!-- --></A><H3>
+RULES_REPOSITORY_NAME</H3>
+<PRE>
+public static final java.lang.String <B>RULES_REPOSITORY_NAME</B></PRE>
+<DL>
+<DD>The name of the rules repository within the JCR repository
+<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.drools.repository.RulesRepository.RULES_REPOSITORY_NAME">Constant Field Values</A></DL>
+</DL>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="RulesRepository()"><!-- --></A><H3>
+RulesRepository</H3>
+<PRE>
+public <B>RulesRepository</B>()</PRE>
+<DL>
+<DD>This will create the JCR repository automatically if it does not already exist.
+ It will call setupRepository() to attempt to setup the repository, in case
+ it has not already been setup.
+<P>
+</DL>
+<HR>
+
+<A NAME="RulesRepository(boolean)"><!-- --></A><H3>
+RulesRepository</H3>
+<PRE>
+public <B>RulesRepository</B>(boolean clearRepository)</PRE>
+<DL>
+<DD>This will create the JCR repository automatically if it does not already exist.
+ It will call setupRepository() to attempt to setup the repository, in case
+ it has not already been setup.
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>clearRepository</CODE> - whether or not to erase the contents of the rules repository
+ portion of the JCR repository</DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="clearRepository()"><!-- --></A><H3>
+clearRepository</H3>
+<PRE>
+public void <B>clearRepository</B>()</PRE>
+<DL>
+<DD>Clears out the entire tree below the rules repository node of the JCR repository.
+<P>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setupRepository()"><!-- --></A><H3>
+setupRepository</H3>
+<PRE>
+protected void <B>setupRepository</B>()
+ throws <A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></PRE>
+<DL>
+<DD>Attempts to setup the repository. If the work that it tries to do has already been done, it
+ will return with modifying the repository.
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addNodeIfNew(javax.jcr.Node, java.lang.String, java.lang.String)"><!-- --></A><H3>
+addNodeIfNew</H3>
+<PRE>
+protected javax.jcr.Node <B>addNodeIfNew</B>(javax.jcr.Node parent,
+ java.lang.String nodeName,
+ java.lang.String type)
+ throws <A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></PRE>
+<DL>
+<DD>Will add a node named 'nodeName' of type 'type' to 'parent' if such a node does not already
+ exist.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent node to add the new node to<DD><CODE>nodeName</CODE> - the name of the new node<DD><CODE>type</CODE> - the type of the new node
+<DT><B>Returns:</B><DD>a reference to the Node object that is created by the addition, or, if the node already
+ existed, a reference to the pre-existant node.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="logout()"><!-- --></A><H3>
+logout</H3>
+<PRE>
+public void <B>logout</B>()</PRE>
+<DL>
+<DD>Explicitly logout of the underlying JCR repository. If this is the last session to that
+ repository, the repository will automatically be shutdown.
+<P>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="dumpRepository()"><!-- --></A><H3>
+dumpRepository</H3>
+<PRE>
+public void <B>dumpRepository</B>()
+ throws <A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></PRE>
+<DL>
+<DD>Recursively outputs the contents of the workspace starting from root. The large subtree
+ called jcr:system is skipped. This method is just here for programmatic debugging
+ purposes, and should be removed.
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addDslFromFile(java.io.File)"><!-- --></A><H3>
+addDslFromFile</H3>
+<PRE>
+public <A HREF="../../../org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A> <B>addDslFromFile</B>(java.io.File file)
+ throws <A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></PRE>
+<DL>
+<DD>Adds a DSL node in the repository using the content and attributes of the specified file
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>file</CODE> - the file to use to import the DSL content and attributes
+<DT><B>Returns:</B><DD>a DslItem object encapsulating the node that gets added
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addRuleFromFile(java.io.File)"><!-- --></A><H3>
+addRuleFromFile</H3>
+<PRE>
+public <A HREF="../../../org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A> <B>addRuleFromFile</B>(java.io.File file)
+ throws <A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></PRE>
+<DL>
+<DD>Adds a Rule node in the repository using the content and attributes of the specified file
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>file</CODE> - the file to use to import the DSL content and attributes
+<DT><B>Returns:</B><DD>a RuleItem object encapsulating the node that gets added
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addRuleFromFile(java.io.File, org.drools.repository.DslItem)"><!-- --></A><H3>
+addRuleFromFile</H3>
+<PRE>
+public <A HREF="../../../org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A> <B>addRuleFromFile</B>(java.io.File file,
+ <A HREF="../../../org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A> dslItem)
+ throws <A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></PRE>
+<DL>
+<DD>Adds a Rule node in the repository using the content and attributes of the specified file.
+ Links the newly created node with the specified DSL node within the repository. This link
+ will follow the head verion of the DSL node.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>file</CODE> - the file to use to import the DSL content and attributes<DD><CODE>dslItem</CODE> - the DslItem containing the node to link the newly created rule node with
+<DT><B>Returns:</B><DD>a RuleItem object encapsulting the node that gets added
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addRuleFromFile(java.io.File, org.drools.repository.DslItem, boolean)"><!-- --></A><H3>
+addRuleFromFile</H3>
+<PRE>
+public <A HREF="../../../org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A> <B>addRuleFromFile</B>(java.io.File file,
+ <A HREF="../../../org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A> dslItem,
+ boolean followDslHead)
+ throws <A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></PRE>
+<DL>
+<DD>Adds a Rule node in the repository using the content and attributes of the specified file.
+ Links the newly created node with the specified DSL node within the repository.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>file</CODE> - the file to use to import the DSL content and attributes<DD><CODE>dslItem</CODE> - the DslItem containing the node to link the newly created rule node with<DD><CODE>followDslHead</CODE> - if true, the link to the DSL node will follow the head revision of that
+ node. if false, it will continue to refer to the specified version even
+ if a new version of the DSL node is checked in
+<DT><B>Returns:</B><DD>a RuleItem object encapsulating the node that gets added
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="createRulePackage(java.lang.String)"><!-- --></A><H3>
+createRulePackage</H3>
+<PRE>
+public <A HREF="../../../org/drools/repository/RulePackageItem.html" title="class in org.drools.repository">RulePackageItem</A> <B>createRulePackage</B>(java.lang.String name)
+ throws <A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></PRE>
+<DL>
+<DD>Adds a rule package node in the repository. This node has a property called
+ drools:rule_reference that is a multi-value reference property. It will hold an array of
+ references to rule nodes that are subsequently added.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>name</CODE> - what to name the node added
+<DT><B>Returns:</B><DD>a RulePackageItem, encapsulating the created node
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getState(java.lang.String)"><!-- --></A><H3>
+getState</H3>
+<PRE>
+public <A HREF="../../../org/drools/repository/StateItem.html" title="class in org.drools.repository">StateItem</A> <B>getState</B>(java.lang.String name)
+ throws <A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></PRE>
+<DL>
+<DD>Gets a StateItem for the specified state name. If a node for the specified state does not
+ yet exist, one is first created.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the state to get
+<DT><B>Returns:</B><DD>a StateItem object encapsulating the retreived node
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getTag(java.lang.String)"><!-- --></A><H3>
+getTag</H3>
+<PRE>
+public <A HREF="../../../org/drools/repository/TagItem.html" title="class in org.drools.repository">TagItem</A> <B>getTag</B>(java.lang.String tagName)
+ throws <A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></PRE>
+<DL>
+<DD>Gets a TagItem object that encapsulates the node for the specified tag name. If the tag does
+ not already exist in the repository when this is called, it is first added to the repository
+ and then returned.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>tagName</CODE> - the name of the tag to get. If the tag to get is within a heirarchy of
+ tag nodes, specify the full path to the tag node of interest (e.g. if
+ you want to get back 'child-tag', use "parent-tag/child-tag")
+<DT><B>Returns:</B><DD>a TagItem object encapsulating the node for the tag in the repository
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></CODE></DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RulesRepository.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../org/drools/repository/RulePackageItem.html" title="class in org.drools.repository"><B>PREV CLASS</B></A>
+ <A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?org/drools/repository/RulesRepository.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="RulesRepository.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+<i>Copyright © 2006 Rackspace Corp. All Rights Reserved.</i>
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/RulesRepository.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/RulesRepositoryException.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/RulesRepositoryException.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/RulesRepositoryException.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,303 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 13 12:41:03 CDT 2006 -->
+<TITLE>
+RulesRepositoryException (rules repository API)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.drools.repository.RulesRepositoryException class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="RulesRepositoryException (rules repository API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RulesRepositoryException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository"><B>PREV CLASS</B></A>
+ <A HREF="../../../org/drools/repository/StateItem.html" title="class in org.drools.repository"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?org/drools/repository/RulesRepositoryException.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="RulesRepositoryException.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.drools.repository</FONT>
+<BR>
+Class RulesRepositoryException</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Throwable
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Exception
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.drools.repository.RulesRepositoryException</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public class <B>RulesRepositoryException</B><DT>extends java.lang.Exception</DL>
+</PRE>
+
+<P>
+The main exception thrown by classes in this package. May contain an error message and/or another
+ nested exception.
+<P>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>btruitt</DD>
+<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.drools.repository.RulesRepositoryException">Serialized Form</A></DL>
+<HR>
+
+<P>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepositoryException.html#RulesRepositoryException()">RulesRepositoryException</A></B>()</CODE>
+
+<BR>
+ Default constructor.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepositoryException.html#RulesRepositoryException(java.lang.String)">RulesRepositoryException</A></B>(java.lang.String message)</CODE>
+
+<BR>
+ Constructs a new instance of this class with the specified detail message.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepositoryException.html#RulesRepositoryException(java.lang.String, java.lang.Throwable)">RulesRepositoryException</A></B>(java.lang.String message,
+ java.lang.Throwable rootCause)</CODE>
+
+<BR>
+ Constructs a new instance of this class with the specified detail message and root cause.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../org/drools/repository/RulesRepositoryException.html#RulesRepositoryException(java.lang.Throwable)">RulesRepositoryException</A></B>(java.lang.Throwable rootCause)</CODE>
+
+<BR>
+ Constructs a new instance of this class with the specified root cause.</TD>
+</TR>
+</TABLE>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="RulesRepositoryException()"><!-- --></A><H3>
+RulesRepositoryException</H3>
+<PRE>
+public <B>RulesRepositoryException</B>()</PRE>
+<DL>
+<DD>Default constructor. constructs a RulesRepositoryException object with null as its detail
+ message
+<P>
+</DL>
+<HR>
+
+<A NAME="RulesRepositoryException(java.lang.String)"><!-- --></A><H3>
+RulesRepositoryException</H3>
+<PRE>
+public <B>RulesRepositoryException</B>(java.lang.String message)</PRE>
+<DL>
+<DD>Constructs a new instance of this class with the specified detail message.
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>message</CODE> - the message to set for the exception</DL>
+</DL>
+<HR>
+
+<A NAME="RulesRepositoryException(java.lang.Throwable)"><!-- --></A><H3>
+RulesRepositoryException</H3>
+<PRE>
+public <B>RulesRepositoryException</B>(java.lang.Throwable rootCause)</PRE>
+<DL>
+<DD>Constructs a new instance of this class with the specified root cause.
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>rootCause</CODE> - root failure cause</DL>
+</DL>
+<HR>
+
+<A NAME="RulesRepositoryException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
+RulesRepositoryException</H3>
+<PRE>
+public <B>RulesRepositoryException</B>(java.lang.String message,
+ java.lang.Throwable rootCause)</PRE>
+<DL>
+<DD>Constructs a new instance of this class with the specified detail message and root cause.
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>message</CODE> - the message to set for the exception<DD><CODE>rootCause</CODE> - root failure cause</DL>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RulesRepositoryException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository"><B>PREV CLASS</B></A>
+ <A HREF="../../../org/drools/repository/StateItem.html" title="class in org.drools.repository"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?org/drools/repository/RulesRepositoryException.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="RulesRepositoryException.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+<i>Copyright © 2006 Rackspace Corp. All Rights Reserved.</i>
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/RulesRepositoryException.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/class-use/RuleSet.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/class-use/RuleSet.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/class-use/RuleSet.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,169 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Thu Aug 03 00:06:12 CDT 2006 -->
+<TITLE>
+Uses of Class org.drools.repository.RuleSet (rules repository API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Uses of Class org.drools.repository.RuleSet (rules repository API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/drools/repository/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/drools/repository/RuleSet.html" title="class in org.drools.repository"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/drools/repository//class-useRuleSet.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="RuleSet.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H2>
+<B>Uses of Class<br>org.drools.repository.RuleSet</B></H2>
+</CENTER>
+<A NAME="org.drools.repository"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+Uses of <A HREF="../../../../org/drools/repository/RuleSet.html" title="class in org.drools.repository">RuleSet</A> in <A HREF="../../../../org/drools/repository/package-summary.html">org.drools.repository</A></FONT></TH>
+</TR>
+</TABLE>
+
+<P>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../org/drools/repository/package-summary.html">org.drools.repository</A> with parameters of type <A HREF="../../../../org/drools/repository/RuleSet.html" title="class in org.drools.repository">RuleSet</A></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> javax.jcr.Node</CODE></FONT></TD>
+<TD><CODE><B>RulesRepository.</B><B><A HREF="../../../../org/drools/repository/RulesRepository.html#addRuleSet(org.drools.repository.RuleSet)">addRuleSet</A></B>(<A HREF="../../../../org/drools/repository/RuleSet.html" title="class in org.drools.repository">RuleSet</A> ruleSet)</CODE>
+
+<BR>
+ Adds a RuleSet node in the repository.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B>RulesRepository.</B><B><A HREF="../../../../org/drools/repository/RulesRepository.html#dumpRuleSet(org.drools.repository.RuleSet)">dumpRuleSet</A></B>(<A HREF="../../../../org/drools/repository/RuleSet.html" title="class in org.drools.repository">RuleSet</A> ruleSet)</CODE>
+
+<BR>
+ Dumps the content of the specified ruleset to System.out.</TD>
+</TR>
+</TABLE>
+
+<P>
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/drools/repository/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/drools/repository/RuleSet.html" title="class in org.drools.repository"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/drools/repository//class-useRuleSet.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="RuleSet.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+<i>Copyright © 2006 Rackspace Corp. All Rights Reserved.</i>
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/class-use/RuleSet.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/class-use/RulesRepository.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/class-use/RulesRepository.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/class-use/RulesRepository.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,242 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 13 12:41:05 CDT 2006 -->
+<TITLE>
+Uses of Class org.drools.repository.RulesRepository (rules repository API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Uses of Class org.drools.repository.RulesRepository (rules repository API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/drools/repository//class-useRulesRepository.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="RulesRepository.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H2>
+<B>Uses of Class<br>org.drools.repository.RulesRepository</B></H2>
+</CENTER>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+Packages that use <A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><A HREF="#org.drools.repository"><B>org.drools.repository</B></A></TD>
+<TD> </TD>
+</TR>
+</TABLE>
+
+<P>
+<A NAME="org.drools.repository"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+Uses of <A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A> in <A HREF="../../../../org/drools/repository/package-summary.html">org.drools.repository</A></FONT></TH>
+</TR>
+</TABLE>
+
+<P>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="2">Fields in <A HREF="../../../../org/drools/repository/package-summary.html">org.drools.repository</A> declared as <A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A></CODE></FONT></TD>
+<TD><CODE><B>Item.</B><B><A HREF="../../../../org/drools/repository/Item.html#rulesRepository">rulesRepository</A></B></CODE>
+
+<BR>
+ The RulesRepository object that this object was created from</TD>
+</TR>
+</TABLE>
+
+<P>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../org/drools/repository/package-summary.html">org.drools.repository</A> that return <A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A></CODE></FONT></TD>
+<TD><CODE><B>Item.</B><B><A HREF="../../../../org/drools/repository/Item.html#getRulesRepository()">getRulesRepository</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<P>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="2">Constructors in <A HREF="../../../../org/drools/repository/package-summary.html">org.drools.repository</A> with parameters of type <A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/drools/repository/DslItem.html#DslItem(org.drools.repository.RulesRepository, javax.jcr.Node)">DslItem</A></B>(<A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A> rulesRepository,
+ javax.jcr.Node node)</CODE>
+
+<BR>
+ Constructs a DslItem object with the specified node as its node attribute</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/drools/repository/Item.html#Item(org.drools.repository.RulesRepository, javax.jcr.Node)">Item</A></B>(<A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A> rulesRepository,
+ javax.jcr.Node node)</CODE>
+
+<BR>
+ Sets the item object's node attribute to the specified node</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/drools/repository/RuleItem.html#RuleItem(org.drools.repository.RulesRepository, javax.jcr.Node)">RuleItem</A></B>(<A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A> rulesRepository,
+ javax.jcr.Node node)</CODE>
+
+<BR>
+ Constructs a RuleItem object, setting its node attribute to the specified node.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/drools/repository/RulePackageItem.html#RulePackageItem(org.drools.repository.RulesRepository, javax.jcr.Node)">RulePackageItem</A></B>(<A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A> rulesRepository,
+ javax.jcr.Node node)</CODE>
+
+<BR>
+ Constructs an object of type RulePackageItem corresponding the specified node</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/drools/repository/StateItem.html#StateItem(org.drools.repository.RulesRepository, javax.jcr.Node)">StateItem</A></B>(<A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A> rulesRepository,
+ javax.jcr.Node node)</CODE>
+
+<BR>
+ Constructs an object of type StateItem corresponding the specified node</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/drools/repository/TagItem.html#TagItem(org.drools.repository.RulesRepository, javax.jcr.Node)">TagItem</A></B>(<A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A> rulesRepository,
+ javax.jcr.Node node)</CODE>
+
+<BR>
+ Constructs an object of type TagItem corresponding the specified node</TD>
+</TR>
+</TABLE>
+
+<P>
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/drools/repository//class-useRulesRepository.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="RulesRepository.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+<i>Copyright © 2006 Rackspace Corp. All Rights Reserved.</i>
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/class-use/RulesRepository.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/class-use/RulesRepositoryException.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/class-use/RulesRepositoryException.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/class-use/RulesRepositoryException.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,453 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 13 12:41:05 CDT 2006 -->
+<TITLE>
+Uses of Class org.drools.repository.RulesRepositoryException (rules repository API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Uses of Class org.drools.repository.RulesRepositoryException (rules repository API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/drools/repository//class-useRulesRepositoryException.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="RulesRepositoryException.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H2>
+<B>Uses of Class<br>org.drools.repository.RulesRepositoryException</B></H2>
+</CENTER>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+Packages that use <A HREF="../../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><A HREF="#org.drools.repository"><B>org.drools.repository</B></A></TD>
+<TD> </TD>
+</TR>
+</TABLE>
+
+<P>
+<A NAME="org.drools.repository"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+Uses of <A HREF="../../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A> in <A HREF="../../../../org/drools/repository/package-summary.html">org.drools.repository</A></FONT></TH>
+</TR>
+</TABLE>
+
+<P>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../org/drools/repository/package-summary.html">org.drools.repository</A> that throw <A HREF="../../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A></CODE></FONT></TD>
+<TD><CODE><B>RulesRepository.</B><B><A HREF="../../../../org/drools/repository/RulesRepository.html#addDslFromFile(java.io.File)">addDslFromFile</A></B>(java.io.File file)</CODE>
+
+<BR>
+ Adds a DSL node in the repository using the content and attributes of the specified file</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected javax.jcr.Node</CODE></FONT></TD>
+<TD><CODE><B>RulesRepository.</B><B><A HREF="../../../../org/drools/repository/RulesRepository.html#addNodeIfNew(javax.jcr.Node, java.lang.String, java.lang.String)">addNodeIfNew</A></B>(javax.jcr.Node parent,
+ java.lang.String nodeName,
+ java.lang.String type)</CODE>
+
+<BR>
+ Will add a node named 'nodeName' of type 'type' to 'parent' if such a node does not already
+ exist.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B>RulePackageItem.</B><B><A HREF="../../../../org/drools/repository/RulePackageItem.html#addRule(org.drools.repository.RuleItem)">addRule</A></B>(<A HREF="../../../../org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A> ruleItem)</CODE>
+
+<BR>
+ Adds a rule to the rule package node this object represents.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B>RulePackageItem.</B><B><A HREF="../../../../org/drools/repository/RulePackageItem.html#addRule(org.drools.repository.RuleItem, boolean)">addRule</A></B>(<A HREF="../../../../org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A> ruleItem,
+ boolean followRuleHead)</CODE>
+
+<BR>
+ Adds a rule to the rule package node this object represents.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A></CODE></FONT></TD>
+<TD><CODE><B>RulesRepository.</B><B><A HREF="../../../../org/drools/repository/RulesRepository.html#addRuleFromFile(java.io.File)">addRuleFromFile</A></B>(java.io.File file)</CODE>
+
+<BR>
+ Adds a Rule node in the repository using the content and attributes of the specified file</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A></CODE></FONT></TD>
+<TD><CODE><B>RulesRepository.</B><B><A HREF="../../../../org/drools/repository/RulesRepository.html#addRuleFromFile(java.io.File, org.drools.repository.DslItem)">addRuleFromFile</A></B>(java.io.File file,
+ <A HREF="../../../../org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A> dslItem)</CODE>
+
+<BR>
+ Adds a Rule node in the repository using the content and attributes of the specified file.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A></CODE></FONT></TD>
+<TD><CODE><B>RulesRepository.</B><B><A HREF="../../../../org/drools/repository/RulesRepository.html#addRuleFromFile(java.io.File, org.drools.repository.DslItem, boolean)">addRuleFromFile</A></B>(java.io.File file,
+ <A HREF="../../../../org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A> dslItem,
+ boolean followDslHead)</CODE>
+
+<BR>
+ Adds a Rule node in the repository using the content and attributes of the specified file.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B>RuleItem.</B><B><A HREF="../../../../org/drools/repository/RuleItem.html#addTag(java.lang.String)">addTag</A></B>(java.lang.String tag)</CODE>
+
+<BR>
+ Adds the specified tag to this object's rule node.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/drools/repository/RulePackageItem.html" title="class in org.drools.repository">RulePackageItem</A></CODE></FONT></TD>
+<TD><CODE><B>RulesRepository.</B><B><A HREF="../../../../org/drools/repository/RulesRepository.html#createRulePackage(java.lang.String)">createRulePackage</A></B>(java.lang.String name)</CODE>
+
+<BR>
+ Adds a rule package node in the repository.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B>RulesRepository.</B><B><A HREF="../../../../org/drools/repository/RulesRepository.html#dumpRepository()">dumpRepository</A></B>()</CODE>
+
+<BR>
+ Recursively outputs the contents of the workspace starting from root.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/drools/repository/TagItem.html" title="class in org.drools.repository">TagItem</A></CODE></FONT></TD>
+<TD><CODE><B>TagItem.</B><B><A HREF="../../../../org/drools/repository/TagItem.html#getChildTag(java.lang.String)">getChildTag</A></B>(java.lang.String tagName)</CODE>
+
+<BR>
+ Gets a TagItem object encapsulating the specified child tag.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.util.List</CODE></FONT></TD>
+<TD><CODE><B>TagItem.</B><B><A HREF="../../../../org/drools/repository/TagItem.html#getChildTags()">getChildTags</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.lang.String</CODE></FONT></TD>
+<TD><CODE><B>RuleItem.</B><B><A HREF="../../../../org/drools/repository/RuleItem.html#getContent()">getContent</A></B>()</CODE>
+
+<BR>
+ returns the content of this object's rule node</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.lang.String</CODE></FONT></TD>
+<TD><CODE><B>DslItem.</B><B><A HREF="../../../../org/drools/repository/DslItem.html#getContent()">getContent</A></B>()</CODE>
+
+<BR>
+ returns the content of this object's dsl node</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A></CODE></FONT></TD>
+<TD><CODE><B>RuleItem.</B><B><A HREF="../../../../org/drools/repository/RuleItem.html#getDsl()">getDsl</A></B>()</CODE>
+
+<BR>
+ Gets a DslItem object corresponding to the DSL reference from the node that this object
+ encapsulates.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.lang.String</CODE></FONT></TD>
+<TD><CODE><B>TagItem.</B><B><A HREF="../../../../org/drools/repository/TagItem.html#getFullPath()">getFullPath</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.lang.String</CODE></FONT></TD>
+<TD><CODE><B>Item.</B><B><A HREF="../../../../org/drools/repository/Item.html#getName()">getName</A></B>()</CODE>
+
+<BR>
+ gets the name of the node that this item encapsulates</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.util.List</CODE></FONT></TD>
+<TD><CODE><B>RulePackageItem.</B><B><A HREF="../../../../org/drools/repository/RulePackageItem.html#getRules()">getRules</A></B>()</CODE>
+
+<BR>
+ Gets a list of RuleItem objects for each rule node in this rule package</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/drools/repository/StateItem.html" title="class in org.drools.repository">StateItem</A></CODE></FONT></TD>
+<TD><CODE><B>RuleItem.</B><B><A HREF="../../../../org/drools/repository/RuleItem.html#getState()">getState</A></B>()</CODE>
+
+<BR>
+ Gets StateItem object corresponding to the state property of this object's node</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/drools/repository/StateItem.html" title="class in org.drools.repository">StateItem</A></CODE></FONT></TD>
+<TD><CODE><B>RulesRepository.</B><B><A HREF="../../../../org/drools/repository/RulesRepository.html#getState(java.lang.String)">getState</A></B>(java.lang.String name)</CODE>
+
+<BR>
+ Gets a StateItem for the specified state name.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/drools/repository/TagItem.html" title="class in org.drools.repository">TagItem</A></CODE></FONT></TD>
+<TD><CODE><B>RulesRepository.</B><B><A HREF="../../../../org/drools/repository/RulesRepository.html#getTag(java.lang.String)">getTag</A></B>(java.lang.String tagName)</CODE>
+
+<BR>
+ Gets a TagItem object that encapsulates the node for the specified tag name.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.util.List</CODE></FONT></TD>
+<TD><CODE><B>RuleItem.</B><B><A HREF="../../../../org/drools/repository/RuleItem.html#getTags()">getTags</A></B>()</CODE>
+
+<BR>
+ Gets a list of TagItem objects for this object's rule node.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B>RulePackageItem.</B><B><A HREF="../../../../org/drools/repository/RulePackageItem.html#removeAllRules()">removeAllRules</A></B>()</CODE>
+
+<BR>
+ Removes all rules from the rule package</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B>RuleItem.</B><B><A HREF="../../../../org/drools/repository/RuleItem.html#removeTag(java.lang.String)">removeTag</A></B>(java.lang.String tag)</CODE>
+
+<BR>
+ Removes the specified tag from this object's rule node.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B>RuleItem.</B><B><A HREF="../../../../org/drools/repository/RuleItem.html#setState(org.drools.repository.StateItem)">setState</A></B>(<A HREF="../../../../org/drools/repository/StateItem.html" title="class in org.drools.repository">StateItem</A> stateItem)</CODE>
+
+<BR>
+ Sets this object's rule node's state property to refer to the specified StateItem's node</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B>RuleItem.</B><B><A HREF="../../../../org/drools/repository/RuleItem.html#setState(java.lang.String)">setState</A></B>(java.lang.String stateName)</CODE>
+
+<BR>
+ Sets this object's rule node's state property to refer to the specified state node</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B>RulesRepository.</B><B><A HREF="../../../../org/drools/repository/RulesRepository.html#setupRepository()">setupRepository</A></B>()</CODE>
+
+<BR>
+ Attempts to setup the repository.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B>RuleItem.</B><B><A HREF="../../../../org/drools/repository/RuleItem.html#updateContentFromFile(java.io.File)">updateContentFromFile</A></B>(java.io.File file)</CODE>
+
+<BR>
+ Creates a new version of this object's rule node, using the content and attributes of the
+ specified file.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B>DslItem.</B><B><A HREF="../../../../org/drools/repository/DslItem.html#updateContentFromFile(java.io.File)">updateContentFromFile</A></B>(java.io.File file)</CODE>
+
+<BR>
+ Creates a new version of this object's dsl node, using the content and attributes of the
+ specified file.</TD>
+</TR>
+</TABLE>
+
+<P>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="2">Constructors in <A HREF="../../../../org/drools/repository/package-summary.html">org.drools.repository</A> that throw <A HREF="../../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/drools/repository/DslItem.html#DslItem(org.drools.repository.RulesRepository, javax.jcr.Node)">DslItem</A></B>(<A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A> rulesRepository,
+ javax.jcr.Node node)</CODE>
+
+<BR>
+ Constructs a DslItem object with the specified node as its node attribute</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/drools/repository/RuleItem.html#RuleItem(org.drools.repository.RulesRepository, javax.jcr.Node)">RuleItem</A></B>(<A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A> rulesRepository,
+ javax.jcr.Node node)</CODE>
+
+<BR>
+ Constructs a RuleItem object, setting its node attribute to the specified node.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/drools/repository/RulePackageItem.html#RulePackageItem(org.drools.repository.RulesRepository, javax.jcr.Node)">RulePackageItem</A></B>(<A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A> rulesRepository,
+ javax.jcr.Node node)</CODE>
+
+<BR>
+ Constructs an object of type RulePackageItem corresponding the specified node</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/drools/repository/StateItem.html#StateItem(org.drools.repository.RulesRepository, javax.jcr.Node)">StateItem</A></B>(<A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A> rulesRepository,
+ javax.jcr.Node node)</CODE>
+
+<BR>
+ Constructs an object of type StateItem corresponding the specified node</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/drools/repository/TagItem.html#TagItem(org.drools.repository.RulesRepository, javax.jcr.Node)">TagItem</A></B>(<A HREF="../../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A> rulesRepository,
+ javax.jcr.Node node)</CODE>
+
+<BR>
+ Constructs an object of type TagItem corresponding the specified node</TD>
+</TR>
+</TABLE>
+
+<P>
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/drools/repository//class-useRulesRepositoryException.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="RulesRepositoryException.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+<i>Copyright © 2006 Rackspace Corp. All Rights Reserved.</i>
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/class-use/RulesRepositoryException.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-frame.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-frame.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-frame.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,55 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 13 12:41:04 CDT 2006 -->
+<TITLE>
+org.drools.repository (rules repository API)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.drools.repository package">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+
+</HEAD>
+
+<BODY BGCOLOR="white">
+<FONT size="+1" CLASS="FrameTitleFont">
+<A HREF="../../../org/drools/repository/package-summary.html" target="classFrame">org.drools.repository</A></FONT>
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
+<TR>
+<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
+Classes</FONT>
+<FONT CLASS="FrameItemFont">
+<BR>
+<A HREF="DslItem.html" title="class in org.drools.repository" target="classFrame">DslItem</A>
+<BR>
+<A HREF="Item.html" title="class in org.drools.repository" target="classFrame">Item</A>
+<BR>
+<A HREF="RuleItem.html" title="class in org.drools.repository" target="classFrame">RuleItem</A>
+<BR>
+<A HREF="RulePackageItem.html" title="class in org.drools.repository" target="classFrame">RulePackageItem</A>
+<BR>
+<A HREF="RulesRepository.html" title="class in org.drools.repository" target="classFrame">RulesRepository</A>
+<BR>
+<A HREF="StateItem.html" title="class in org.drools.repository" target="classFrame">StateItem</A>
+<BR>
+<A HREF="TagItem.html" title="class in org.drools.repository" target="classFrame">TagItem</A></FONT></TD>
+</TR>
+</TABLE>
+
+
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
+<TR>
+<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
+Exceptions</FONT>
+<FONT CLASS="FrameItemFont">
+<BR>
+<A HREF="RulesRepositoryException.html" title="class in org.drools.repository" target="classFrame">RulesRepositoryException</A></FONT></TD>
+</TR>
+</TABLE>
+
+
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-frame.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-summary.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-summary.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-summary.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,193 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 13 12:41:04 CDT 2006 -->
+<TITLE>
+org.drools.repository (rules repository API)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.drools.repository package">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="org.drools.repository (rules repository API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV PACKAGE
+ <A HREF="../../../org/drools/repository/test/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?org/drools/repository/package-summary.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<H2>
+Package org.drools.repository
+</H2>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Class Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../org/drools/repository/DslItem.html" title="class in org.drools.repository">DslItem</A></B></TD>
+<TD>The DslItem is used to abstract away details of the JCR repository</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../org/drools/repository/Item.html" title="class in org.drools.repository">Item</A></B></TD>
+<TD>The item class is used to abstract away the underlying details of the JCR repository.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../org/drools/repository/RuleItem.html" title="class in org.drools.repository">RuleItem</A></B></TD>
+<TD>The RuleItem class is used to abstract away the details of the underlying JCR repository.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../org/drools/repository/RulePackageItem.html" title="class in org.drools.repository">RulePackageItem</A></B></TD>
+<TD>A ruleSet object aggregates a set of rules.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository">RulesRepository</A></B></TD>
+<TD>RulesRepository is the class that defines the bahavior for the JBoss Rules (drools) rule repository
+ based upon the JCR specification (JSR-170).</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../org/drools/repository/StateItem.html" title="class in org.drools.repository">StateItem</A></B></TD>
+<TD>The StateItem class abstracts away details of the underlying JCR repository.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../org/drools/repository/TagItem.html" title="class in org.drools.repository">TagItem</A></B></TD>
+<TD>The TagItem class abstracts away details of the underlying JCR repository.</TD>
+</TR>
+</TABLE>
+
+
+<P>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Exception Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">RulesRepositoryException</A></B></TD>
+<TD>The main exception thrown by classes in this package.</TD>
+</TR>
+</TABLE>
+
+
+<P>
+<DL>
+</DL>
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV PACKAGE
+ <A HREF="../../../org/drools/repository/test/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?org/drools/repository/package-summary.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+<i>Copyright © 2006 Rackspace Corp. All Rights Reserved.</i>
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-summary.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-tree.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-tree.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-tree.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,156 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 13 12:41:05 CDT 2006 -->
+<TITLE>
+org.drools.repository Class Hierarchy (rules repository API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="org.drools.repository Class Hierarchy (rules repository API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ <A HREF="../../../org/drools/repository/test/package-tree.html"><B>NEXT</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?org/drools/repository/package-tree.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H2>
+Hierarchy For Package org.drools.repository
+</H2>
+</CENTER>
+<DL>
+<DT><B>Package Hierarchies:</B><DD><A HREF="../../../overview-tree.html">All Packages</A></DL>
+<HR>
+<H2>
+Class Hierarchy
+</H2>
+<UL>
+<LI TYPE="circle">java.lang.Object<UL>
+<LI TYPE="circle">org.drools.repository.<A HREF="../../../org/drools/repository/Item.html" title="class in org.drools.repository"><B>Item</B></A><UL>
+<LI TYPE="circle">org.drools.repository.<A HREF="../../../org/drools/repository/DslItem.html" title="class in org.drools.repository"><B>DslItem</B></A><LI TYPE="circle">org.drools.repository.<A HREF="../../../org/drools/repository/RuleItem.html" title="class in org.drools.repository"><B>RuleItem</B></A><LI TYPE="circle">org.drools.repository.<A HREF="../../../org/drools/repository/RulePackageItem.html" title="class in org.drools.repository"><B>RulePackageItem</B></A><LI TYPE="circle">org.drools.repository.<A HREF="../../../org/drools/repository/StateItem.html" title="class in org.drools.repository"><B>StateItem</B></A><LI TYPE="circle">org.drools.repository.<A HREF="../../../org/drools/repository/TagItem.html" title="class in org.drools.repository"><B>TagItem</B></A></UL>
+<LI TYPE="circle">org.drools.repository.<A HREF="../../../org/drools/repository/RulesRepository.html" title="class in org.drools.repository"><B>RulesRepository</B></A><LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable)
+<UL>
+<LI TYPE="circle">java.lang.Exception<UL>
+<LI TYPE="circle">org.drools.repository.<A HREF="../../../org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository"><B>RulesRepositoryException</B></A></UL>
+</UL>
+</UL>
+</UL>
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ <A HREF="../../../org/drools/repository/test/package-tree.html"><B>NEXT</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?org/drools/repository/package-tree.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+<i>Copyright © 2006 Rackspace Corp. All Rights Reserved.</i>
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-tree.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-use.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-use.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-use.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,209 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 13 12:41:05 CDT 2006 -->
+<TITLE>
+Uses of Package org.drools.repository (rules repository API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Uses of Package org.drools.repository (rules repository API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?org/drools/repository/package-use.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H2>
+<B>Uses of Package<br>org.drools.repository</B></H2>
+</CENTER>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+Packages that use <A HREF="../../../org/drools/repository/package-summary.html">org.drools.repository</A></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><A HREF="#org.drools.repository"><B>org.drools.repository</B></A></TD>
+<TD> </TD>
+</TR>
+</TABLE>
+
+<P>
+<A NAME="org.drools.repository"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+Classes in <A HREF="../../../org/drools/repository/package-summary.html">org.drools.repository</A> used by <A HREF="../../../org/drools/repository/package-summary.html">org.drools.repository</A></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><B><A HREF="../../../org/drools/repository/class-use/DslItem.html#org.drools.repository"><B>DslItem</B></A></B>
+
+<BR>
+ The DslItem is used to abstract away details of the JCR repository</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><B><A HREF="../../../org/drools/repository/class-use/Item.html#org.drools.repository"><B>Item</B></A></B>
+
+<BR>
+ The item class is used to abstract away the underlying details of the JCR repository.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><B><A HREF="../../../org/drools/repository/class-use/RuleItem.html#org.drools.repository"><B>RuleItem</B></A></B>
+
+<BR>
+ The RuleItem class is used to abstract away the details of the underlying JCR repository.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><B><A HREF="../../../org/drools/repository/class-use/RulePackageItem.html#org.drools.repository"><B>RulePackageItem</B></A></B>
+
+<BR>
+ A ruleSet object aggregates a set of rules.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><B><A HREF="../../../org/drools/repository/class-use/RulesRepository.html#org.drools.repository"><B>RulesRepository</B></A></B>
+
+<BR>
+ RulesRepository is the class that defines the bahavior for the JBoss Rules (drools) rule repository
+ based upon the JCR specification (JSR-170).</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><B><A HREF="../../../org/drools/repository/class-use/RulesRepositoryException.html#org.drools.repository"><B>RulesRepositoryException</B></A></B>
+
+<BR>
+ The main exception thrown by classes in this package.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><B><A HREF="../../../org/drools/repository/class-use/StateItem.html#org.drools.repository"><B>StateItem</B></A></B>
+
+<BR>
+ The StateItem class abstracts away details of the underlying JCR repository.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><B><A HREF="../../../org/drools/repository/class-use/TagItem.html#org.drools.repository"><B>TagItem</B></A></B>
+
+<BR>
+ The TagItem class abstracts away details of the underlying JCR repository.</TD>
+</TR>
+</TABLE>
+
+<P>
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?org/drools/repository/package-use.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+<i>Copyright © 2006 Rackspace Corp. All Rights Reserved.</i>
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/org/drools/repository/package-use.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/overview-tree.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/overview-tree.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/overview-tree.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,160 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 13 12:41:05 CDT 2006 -->
+<TITLE>
+Class Hierarchy (rules repository API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Class Hierarchy (rules repository API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?overview-tree.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="overview-tree.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H2>
+Hierarchy For All Packages</H2>
+</CENTER>
+<DL>
+<DT><B>Package Hierarchies:</B><DD><A HREF="org/drools/repository/package-tree.html">org.drools.repository</A>, <A HREF="org/drools/repository/test/package-tree.html">org.drools.repository.test</A></DL>
+<HR>
+<H2>
+Class Hierarchy
+</H2>
+<UL>
+<LI TYPE="circle">java.lang.Object<UL>
+<LI TYPE="circle">org.drools.repository.test.<A HREF="org/drools/repository/test/AllTests.html" title="class in org.drools.repository.test"><B>AllTests</B></A><LI TYPE="circle">junit.framework.Assert<UL>
+<LI TYPE="circle">junit.framework.TestCase (implements junit.framework.Test)
+<UL>
+<LI TYPE="circle">org.drools.repository.test.<A HREF="org/drools/repository/test/DslItemTestCase.html" title="class in org.drools.repository.test"><B>DslItemTestCase</B></A><LI TYPE="circle">org.drools.repository.test.<A HREF="org/drools/repository/test/RuleItemTestCase.html" title="class in org.drools.repository.test"><B>RuleItemTestCase</B></A><LI TYPE="circle">org.drools.repository.test.<A HREF="org/drools/repository/test/RulePackageItemTestCase.html" title="class in org.drools.repository.test"><B>RulePackageItemTestCase</B></A><LI TYPE="circle">org.drools.repository.test.<A HREF="org/drools/repository/test/RulesRepositoryTestCase.html" title="class in org.drools.repository.test"><B>RulesRepositoryTestCase</B></A><LI TYPE="circle">org.drools.repository.test.<A HREF="org/drools/repository/test/StateItemTestCase.html" title="class in org.drools.repository.test"><B>StateItemTestCase</B></A><LI TYPE="circle">org.drools.repository.test.<A HREF="org/drools/repository/test/TagI!
temTestCase.html" title="class in org.drools.repository.test"><B>TagItemTestCase</B></A></UL>
+</UL>
+<LI TYPE="circle">org.drools.repository.<A HREF="org/drools/repository/Item.html" title="class in org.drools.repository"><B>Item</B></A><UL>
+<LI TYPE="circle">org.drools.repository.<A HREF="org/drools/repository/DslItem.html" title="class in org.drools.repository"><B>DslItem</B></A><LI TYPE="circle">org.drools.repository.<A HREF="org/drools/repository/RuleItem.html" title="class in org.drools.repository"><B>RuleItem</B></A><LI TYPE="circle">org.drools.repository.<A HREF="org/drools/repository/RulePackageItem.html" title="class in org.drools.repository"><B>RulePackageItem</B></A><LI TYPE="circle">org.drools.repository.<A HREF="org/drools/repository/StateItem.html" title="class in org.drools.repository"><B>StateItem</B></A><LI TYPE="circle">org.drools.repository.<A HREF="org/drools/repository/TagItem.html" title="class in org.drools.repository"><B>TagItem</B></A></UL>
+<LI TYPE="circle">org.drools.repository.<A HREF="org/drools/repository/RulesRepository.html" title="class in org.drools.repository"><B>RulesRepository</B></A><LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable)
+<UL>
+<LI TYPE="circle">java.lang.Exception<UL>
+<LI TYPE="circle">org.drools.repository.<A HREF="org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository"><B>RulesRepositoryException</B></A></UL>
+</UL>
+</UL>
+</UL>
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?overview-tree.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="overview-tree.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+<i>Copyright © 2006 Rackspace Corp. All Rights Reserved.</i>
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/overview-tree.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/package-list
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/package-list 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/package-list 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,2 @@
+org.drools.repository
+org.drools.repository.test
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/package-list
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/resources/inherit.gif
===================================================================
(Binary files differ)
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/resources/inherit.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/serialized-form.html
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/serialized-form.html 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/serialized-form.html 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,162 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 13 12:41:05 CDT 2006 -->
+<TITLE>
+Serialized Form (rules repository API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Serialized Form (rules repository API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?serialized-form.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="serialized-form.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H1>
+Serialized Form</H1>
+</CENTER>
+<HR SIZE="4" NOSHADE>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="center"><FONT SIZE="+2">
+<B>Package</B> <B>org.drools.repository</B></FONT></TH>
+</TR>
+</TABLE>
+
+<P>
+<A NAME="org.drools.repository.RulesRepositoryException"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Class <A HREF="org/drools/repository/RulesRepositoryException.html" title="class in org.drools.repository">org.drools.repository.RulesRepositoryException</A> extends java.lang.Exception implements Serializable</B></FONT></TH>
+</TR>
+</TABLE>
+
+<P>
+<B>serialVersionUID: </B>1L
+
+<P>
+
+<P>
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html?serialized-form.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="serialized-form.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+<i>Copyright © 2006 Rackspace Corp. All Rights Reserved.</i>
+</BODY>
+</HTML>
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/serialized-form.html
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/javadoc/stylesheet.css
===================================================================
--- labs/jbossrules/trunk/drools-repository/doc/javadoc/stylesheet.css 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/doc/javadoc/stylesheet.css 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,29 @@
+/* Javadoc style sheet */
+
+/* Define colors, fonts and other style attributes here to override the defaults */
+
+/* Page background color */
+body { background-color: #FFFFFF }
+
+/* Headings */
+h1 { font-size: 145% }
+
+/* Table colors */
+.TableHeadingColor { background: #CCCCFF } /* Dark mauve */
+.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */
+.TableRowColor { background: #FFFFFF } /* White */
+
+/* Font used in left-hand frame lists */
+.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif }
+.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif }
+.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif }
+
+/* Navigation bar fonts and colors */
+.NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */
+.NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */
+.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;}
+.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;}
+
+.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
+.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
+
Property changes on: labs/jbossrules/trunk/drools-repository/doc/javadoc/stylesheet.css
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/doc/repository_layout.jpeg
===================================================================
(Binary files differ)
Property changes on: labs/jbossrules/trunk/drools-repository/doc/repository_layout.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossrules/trunk/drools-repository/lib/commons-collections-3.1.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossrules/trunk/drools-repository/lib/commons-collections-3.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossrules/trunk/drools-repository/lib/concurrent-1.3.4.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossrules/trunk/drools-repository/lib/concurrent-1.3.4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossrules/trunk/drools-repository/lib/derby-10.1.1.0.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossrules/trunk/drools-repository/lib/derby-10.1.1.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossrules/trunk/drools-repository/lib/geronimo-spec-jta-1.0-M1.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossrules/trunk/drools-repository/lib/geronimo-spec-jta-1.0-M1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossrules/trunk/drools-repository/lib/jackrabbit-core-1.0-SNAPSHOT.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossrules/trunk/drools-repository/lib/jackrabbit-core-1.0-SNAPSHOT.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossrules/trunk/drools-repository/lib/jcr-1.0.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossrules/trunk/drools-repository/lib/jcr-1.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossrules/trunk/drools-repository/lib/junit-3.8.1.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossrules/trunk/drools-repository/lib/junit-3.8.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossrules/trunk/drools-repository/lib/log4j-1.2.8.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossrules/trunk/drools-repository/lib/log4j-1.2.8.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossrules/trunk/drools-repository/lib/lucene-1.4.3.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossrules/trunk/drools-repository/lib/lucene-1.4.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossrules/trunk/drools-repository/lib/slf4j-log4j12-1.0.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossrules/trunk/drools-repository/lib/slf4j-log4j12-1.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossrules/trunk/drools-repository/lib/xercesImpl-2.6.2.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossrules/trunk/drools-repository/lib/xercesImpl-2.6.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossrules/trunk/drools-repository/lib/xmlParserAPIs-2.0.2.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossrules/trunk/drools-repository/lib/xmlParserAPIs-2.0.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossrules/trunk/drools-repository/log4j.properties
===================================================================
--- labs/jbossrules/trunk/drools-repository/log4j.properties 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/log4j.properties 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,6 @@
+log4j.logger.org.apache.jackrabbit=WARN,stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.SimpleLayout
+
+org.drools.repository=DEBUG,stdout
+org.apache.jackrabbit=INFO,stdout
\ No newline at end of file
Property changes on: labs/jbossrules/trunk/drools-repository/log4j.properties
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/DslItem.java
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/DslItem.java 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/DslItem.java 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,151 @@
+package org.drools.repository;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.util.Calendar;
+
+import javax.jcr.Node;
+import javax.jcr.Property;
+import javax.jcr.RepositoryException;
+import javax.jcr.UnsupportedRepositoryOperationException;
+
+import org.apache.log4j.Logger;
+
+/**
+ * The DslItem is used to abstract away details of the JCR repository
+ *
+ * @author btruitt
+ */
+public class DslItem extends Item {
+ private Logger log = Logger.getLogger(DslItem.class);
+
+ /**
+ * The name of the DSL node type
+ */
+ public static final String DSL_NODE_TYPE_NAME = "drools:dsl_node_type";
+
+ /**
+ * Constructs a DslItem object with the specified node as its node attribute
+ *
+ * @param rulesRepository the rulesRepository that instantiated this object
+ * @param node
+ * @throws RulesRepositoryException
+ */
+ public DslItem(RulesRepository rulesRepository, Node node) throws RulesRepositoryException {
+ super(rulesRepository, node);
+
+ try {
+ //make sure this node is a dsl node
+ if(!(this.node.getPrimaryNodeType().getName().equals(DSL_NODE_TYPE_NAME) ||
+ this.node.getPrimaryNodeType().getName().equals("nt:version"))) {
+ String message = this.node.getName() + " is not a node of type " + DSL_NODE_TYPE_NAME + " nor nt:version. It is a node of type: " + this.node.getPrimaryNodeType().getName();
+ log.error(message);
+ throw new RulesRepositoryException(message);
+ }
+ }
+ catch(Exception e) {
+ log.error("Caught exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * returns the content of this object's dsl node
+ *
+ * @return the content of this object's dsl node
+ * @throws RulesRepositoryException
+ */
+ public String getContent() throws RulesRepositoryException {
+ try {
+ Node dslNode;
+ if(this.node.getPrimaryNodeType().getName().equals("nt:version")) {
+ dslNode = this.node.getNode("jcr:frozenNode");
+ }
+ else {
+ dslNode = this.node;
+ }
+
+ //grab the content of the node and dump it into a string
+ Node contentNode = dslNode.getNode("jcr:content");
+ Property data = contentNode.getProperty("jcr:data");
+ return data.getValue().getString();
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Creates a new version of this object's dsl node, using the content and attributes of the
+ * specified file.
+ *
+ * @param file the file from which to get the content and attributes for the new version of the
+ * dsl node
+ * @throws RulesRepositoryException
+ */
+ public void updateContentFromFile(File file) throws RulesRepositoryException {
+ try {
+ this.node.checkout();
+ }
+ catch(UnsupportedRepositoryOperationException e) {
+ String message = "";
+ try {
+ message = "Error: Caught UnsupportedRepositoryOperationException when attempting to checkout node: " + this.node.getName() + ". Are you sure your JCR repository supports versioning? ";
+ log.error(message + e);
+ }
+ catch (RepositoryException e1) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e1);
+ }
+ throw new RulesRepositoryException(message, e);
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e);
+ }
+
+ try {
+ //create the mandatory child node - jcr:content
+ Node resNode = this.node.getNode("jcr:content");
+ resNode.setProperty("jcr:mimeType", "text/plain");
+ resNode.setProperty("jcr:encoding", System.getProperty("file.encoding")); //TODO: is this right?
+ resNode.setProperty("jcr:data", new FileInputStream(file));
+ Calendar lastModified = Calendar.getInstance();
+ lastModified.setTimeInMillis(file.lastModified());
+ resNode.setProperty("jcr:lastModified", lastModified);
+
+ this.node.getSession().save();
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e);
+ }
+ finally {
+ try {
+ this.node.checkin();
+ }
+ catch(Exception e) {
+ log.error("Caught Exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+ }
+
+ /**
+ * Nicely formats the information contained by the node that this object encapsulates
+ */
+ public String toString() {
+ try {
+ StringBuffer returnString = new StringBuffer();
+ returnString.append("Content of DSL node named " + this.node.getName() + ":\n");
+ returnString.append(this.getContent() + "\n");
+ returnString.append("--------------\n");
+ return returnString.toString();
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ return null;
+ }
+ }
+}
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/DslItem.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/Item.java
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/Item.java 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/Item.java 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,86 @@
+package org.drools.repository;
+
+import javax.jcr.Node;
+
+import org.apache.log4j.Logger;
+
+//TODO: may need to change this so that it has the path as its attribute rather than the
+// node reference itself. Then add a getNode() convenience function for getting a reference
+// to the node from the rulesRepository attribute. This is potentially a better design
+// for passing this object around.
+
+/**
+ * The item class is used to abstract away the underlying details of the JCR repository.
+ *
+ * @author btruitt
+ */
+public abstract class Item {
+ Logger log = Logger.getLogger(Item.class);
+
+ /**
+ * The node within the repository that this item corresponds to
+ */
+ protected Node node;
+
+ /**
+ * The RulesRepository object that this object was created from
+ */
+ protected RulesRepository rulesRepository;
+
+ /**
+ * Sets the item object's node attribute to the specified node
+ *
+ * @param rulesRepository the RulesRepository object that this object is being created from
+ * @param node the node in the repository that this item corresponds to
+ */
+ public Item(RulesRepository rulesRepository, Node node) {
+ this.rulesRepository = rulesRepository;
+ this.node = node;
+ }
+
+ /**
+ * gets the node in the repository that this item is associated with
+ *
+ * @return the node in the repository that this item is associated with
+ */
+ public Node getNode() {
+ return node;
+ }
+
+ /**
+ * gets the name of the node that this item encapsulates
+ *
+ * @return the name of the node that this item encapsultes
+ * @throws RulesRepositoryException
+ */
+ public String getName() throws RulesRepositoryException {
+ try {
+ return this.node.getName();
+ }
+ catch(Exception e) {
+ log.error("Caught exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * @return the RulesRepository object that this object was instantiated from
+ */
+ public RulesRepository getRulesRepository() {
+ return rulesRepository;
+ }
+
+ public boolean equals(Object obj) {
+ if(!(obj instanceof Item)) {
+ return false;
+ }
+ else {
+ Item rhs = (Item)obj;
+ return this.node.equals(rhs.getNode());
+ }
+ }
+
+ public int hashCode() {
+ return this.node.hashCode();
+ }
+}
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/Item.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RuleItem.java
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RuleItem.java 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RuleItem.java 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,444 @@
+package org.drools.repository;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.util.ArrayList;
+import java.util.Calendar;
+import java.util.Iterator;
+import java.util.List;
+
+import javax.jcr.Node;
+import javax.jcr.PathNotFoundException;
+import javax.jcr.Property;
+import javax.jcr.RepositoryException;
+import javax.jcr.UnsupportedRepositoryOperationException;
+import javax.jcr.Value;
+
+import org.apache.log4j.Logger;
+
+/**
+ * The RuleItem class is used to abstract away the details of the underlying JCR repository.
+ * It is used to pass information about rules stored in the repository.
+ *
+ * @author btruitt
+ */
+public class RuleItem extends Item {
+ private Logger log = Logger.getLogger(RuleItem.class);
+
+ /**
+ * The name of the DSL property on the rule node type
+ */
+ public static final String DSL_PROPERTY_NAME = "drools:dsl_reference";
+
+ /**
+ * The name of the tag property on the rule node type
+ */
+ public static final String TAG_PROPERTY_NAME = "drools:tag_reference";
+
+ /**
+ * The name of the rule node type
+ */
+ public static final String RULE_NODE_TYPE_NAME = "drools:rule_node_type";
+
+ /**
+ * The name of the state property on the rule node type
+ */
+ public static final String STATE_PROPERTY_NAME = "drools:state_reference";
+
+ /**
+ * Constructs a RuleItem object, setting its node attribute to the specified node.
+ *
+ * @param rulesRepository the rulesRepository that instantiated this object
+ * @param node the node in the repository that this RuleItem corresponds to
+ * @throws RulesRepositoryException
+ */
+ public RuleItem(RulesRepository rulesRepository, Node node) throws RulesRepositoryException {
+ super(rulesRepository, node);
+
+ try {
+ //make sure this node is a rule node
+ if(!(this.node.getPrimaryNodeType().getName().equals(RULE_NODE_TYPE_NAME) ||
+ this.node.getPrimaryNodeType().getName().equals("nt:version"))) {
+ String message = this.node.getName() + " is not a node of type " + RULE_NODE_TYPE_NAME + " nor nt:version. It is a node of type: " + this.node.getPrimaryNodeType().getName();
+ log.error(message);
+ throw new RulesRepositoryException(message);
+ }
+ }
+ catch(Exception e) {
+ log.error("Caught exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * returns the content of this object's rule node
+ *
+ * @return the content of this object's rule node
+ * @throws RulesRepositoryException
+ */
+ public String getContent() throws RulesRepositoryException {
+ try {
+ Node ruleNode;
+ if(this.node.getPrimaryNodeType().getName().equals("nt:version")) {
+ ruleNode = this.node.getNode("jcr:frozenNode");
+ }
+ else {
+ ruleNode = this.node;
+ }
+
+ //grab the content of the node and dump it into a string
+ Node contentNode = ruleNode.getNode("jcr:content");
+ Property data = contentNode.getProperty("jcr:data");
+ return data.getValue().getString();
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Creates a new version of this object's rule node, using the content and attributes of the
+ * specified file.
+ *
+ * @param file the file from which to get the content and attributes for the new version of the
+ * rule node
+ * @throws RulesRepositoryException
+ */
+ public void updateContentFromFile(File file) throws RulesRepositoryException {
+ try {
+ this.node.checkout();
+ }
+ catch(UnsupportedRepositoryOperationException e) {
+ String message = "";
+ try {
+ message = "Error: Caught UnsupportedRepositoryOperationException when attempting to checkout rule: " + this.node.getName() + ". Are you sure your JCR repository supports versioning? ";
+ log.error(message + e);
+ }
+ catch (RepositoryException e1) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e1);
+ }
+ throw new RulesRepositoryException(message, e);
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e);
+ }
+
+ try {
+ //create the mandatory child node - jcr:content
+ Node resNode = this.node.getNode("jcr:content");
+ resNode.setProperty("jcr:mimeType", "text/plain");
+ resNode.setProperty("jcr:encoding", System.getProperty("file.encoding")); //TODO: is this right?
+ resNode.setProperty("jcr:data", new FileInputStream(file));
+ Calendar lastModified = Calendar.getInstance();
+ lastModified.setTimeInMillis(file.lastModified());
+ resNode.setProperty("jcr:lastModified", lastModified);
+
+ this.node.getSession().save();
+
+ this.node.checkin();
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Adds the specified tag to this object's rule node. Tags are stored as nodes in a tag area of
+ * the repository. If the specified tag does not already have a corresponding node, a node is
+ * created for it.
+ *
+ * @param tag the tag to add to the rule. rules can have multiple tags
+ * @throws RulesRepositoryException
+ */
+ public void addTag(String tag) throws RulesRepositoryException {
+ try {
+ //make sure this object's node is the head version
+ if(this.node.getPrimaryNodeType().getName().equals("nt:version")) {
+ String message = "Error. Tags can only be added to the head version of a rule node";
+ log.error(message);
+ throw new RulesRepositoryException(message);
+ }
+
+ TagItem tagItem = this.rulesRepository.getTag(tag);
+
+ //now set the tag property of the rule
+ Property tagReferenceProperty;
+ int i = 0;
+ Value[] newTagValues = null;
+ try {
+ tagReferenceProperty = this.node.getProperty(TAG_PROPERTY_NAME);
+ Value[] oldTagValues = tagReferenceProperty.getValues();
+
+ //first, make sure this tag wasn't already there. while we're at it, lets copy the array
+ newTagValues = new Value[oldTagValues.length + 1];
+ for(i=0; i<oldTagValues.length; i++) {
+ if(oldTagValues[i].getString().equals(tag)) {
+ log.info("tag '" + tag + "' already existed for rule node: " + this.node.getName());
+ return;
+ }
+ newTagValues[i] = oldTagValues[i];
+ }
+ }
+ catch(PathNotFoundException e) {
+ //the property doesn't exist yet, so create it in the finally block
+ newTagValues = new Value[1];
+ }
+ finally {
+ if(newTagValues != null) {
+ newTagValues[i] = this.node.getSession().getValueFactory().createValue(tagItem.getNode());
+ this.node.checkout();
+ this.node.setProperty(TAG_PROPERTY_NAME, newTagValues);
+ this.node.getSession().save();
+ this.node.checkin();
+ }
+ else {
+ log.error("reached expected path of execution when adding tag '" + tag + "' to ruleNode: " + this.node.getName());
+ }
+ }
+ }
+ catch(Exception e) {
+ log.error("Caught exception " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Removes the specified tag from this object's rule node.
+ *
+ * @param tag the tag to remove from the rule
+ * @throws RulesRepositoryException
+ */
+ public void removeTag(String tag) throws RulesRepositoryException {
+ //TODO: implement if the removed tag no longer has anyone referencing it, remove the tag (are we sure we want to do this, for versioning's sake?)
+ try {
+ //make sure this object's node is the head version
+ if(this.node.getPrimaryNodeType().getName().equals("nt:version")) {
+ String message = "Error. Tags can only be removed from the head version of a rule node";
+ log.error(message);
+ throw new RulesRepositoryException(message);
+ }
+
+ //now set the tag property of the rule
+ Property tagReferenceProperty;
+ int i = 0;
+ int j = 0;
+ Value[] newTagValues = null;
+ try {
+ tagReferenceProperty = this.node.getProperty(TAG_PROPERTY_NAME);
+ Value[] oldTagValues = tagReferenceProperty.getValues();
+
+ //see if the tag was even there
+ boolean wasThere = false;
+ for(i=0; i<oldTagValues.length; i++) {
+ Node tagNode = this.node.getSession().getNodeByUUID(oldTagValues[i].getString());
+ if(tagNode.getName().equals(tag)) {
+ wasThere = true;
+ }
+ }
+
+ if(wasThere) {
+ //copy the array, minus the specified tag
+ newTagValues = new Value[oldTagValues.length + 1];
+ for(i=0; i<oldTagValues.length; i++) {
+ Node tagNode = this.node.getSession().getNodeByUUID(oldTagValues[i].getString());
+ if(!tagNode.getName().equals(tag)) {
+ newTagValues[j] = oldTagValues[i];
+ j++;
+ }
+ }
+ }
+ else {
+ //TODO: remove the tag if it isn't used by anyone else
+ return;
+ }
+ }
+ catch(PathNotFoundException e) {
+ //the property doesn't exist yet
+ //TODO: first remove the tag if it isn't used by anyone else
+ return;
+ }
+ finally {
+ if(newTagValues != null) {
+ this.node.checkout();
+ this.node.setProperty(TAG_PROPERTY_NAME, newTagValues);
+ this.node.getSession().save();
+ this.node.checkin();
+ }
+ else {
+ log.error("reached expected path of execution when removing tag '" + tag + "' from ruleNode: " + this.node.getName());
+ }
+ }
+ }
+ catch(Exception e) {
+ log.error("Caught exception " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Gets a list of TagItem objects for this object's rule node.
+ *
+ * @return a list of TagItem objects for each tag on the rule. If there are no tags, an empty list.
+ * @throws RulesRepositoryException
+ */
+ public List getTags() throws RulesRepositoryException {
+ try {
+ Node ruleNode;
+ if(this.node.getPrimaryNodeType().getName().equals("nt:version")) {
+ ruleNode = this.node.getNode("jcr:frozenNode");
+ }
+ else {
+ ruleNode = this.node;
+ }
+
+ List returnList = new ArrayList();
+ try {
+ Property tagReferenceProperty = ruleNode.getProperty(TAG_PROPERTY_NAME);
+ Value[] tagValues = tagReferenceProperty.getValues();
+ for(int i=0; i<tagValues.length; i++) {
+ Node tagNode = this.node.getSession().getNodeByUUID(tagValues[i].getString());
+ TagItem tagItem = new TagItem(this.rulesRepository, tagNode);
+ returnList.add(tagItem);
+ }
+ }
+ catch(PathNotFoundException e) {
+ //the property doesn't even exist yet, so just return nothing
+ }
+ return returnList;
+ }
+ catch(Exception e) {
+ log.error("Caught exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Sets this object's rule node's state property to refer to the specified state node
+ *
+ * @param stateName the name of the state to set the rule node to
+ * @throws RulesRepositoryException
+ */
+ public void setState(String stateName) throws RulesRepositoryException {
+ try {
+ StateItem stateItem = this.rulesRepository.getState(stateName);
+ this.setState(stateItem);
+ }
+ catch(Exception e) {
+ log.error("Caught exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Sets this object's rule node's state property to refer to the specified StateItem's node
+ *
+ * @param stateItem the StateItem encapsulating the node to refer to from this object's node's state
+ * property
+ * @throws RulesRepositoryException
+ */
+ public void setState(StateItem stateItem) throws RulesRepositoryException {
+ try {
+ //make sure this node is a rule node
+ if(this.node.getPrimaryNodeType().getName().equals("nt:version")) {
+ String message = "Error. States can only be set for the head version of a rule node";
+ log.error(message);
+ throw new RulesRepositoryException(message);
+ }
+
+ //now set the state property of the rule
+ this.node.checkout();
+ this.node.setProperty(STATE_PROPERTY_NAME, stateItem.getNode());
+ this.node.getSession().save();
+ this.node.checkin();
+ }
+ catch(Exception e) {
+ log.error("Caught exception " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Gets StateItem object corresponding to the state property of this object's node
+ *
+ * @return a StateItem object corresponding to the state property of this object's node, or null
+ * if the state property is not set
+ * @throws RulesRepositoryException
+ */
+ public StateItem getState() throws RulesRepositoryException {
+ try {
+ Property stateProperty = this.node.getProperty(STATE_PROPERTY_NAME);
+ Node stateNode = this.node.getSession().getNodeByUUID(stateProperty.getString());
+ return new StateItem(this.rulesRepository, stateNode);
+ }
+ catch(PathNotFoundException e) {
+ //not set
+ return null;
+ }
+ catch(Exception e) {
+ log.error("Caught exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Gets a DslItem object corresponding to the DSL reference from the node that this object
+ * encapsulates.
+ *
+ * @return a DslItem object corresponding to the DSL reference for this rule node. If there is
+ * no DSL node referenced from this object's node, then null.
+ * @throws RulesRepositoryException
+ */
+ public DslItem getDsl() throws RulesRepositoryException {
+ try {
+ Property dslProperty = this.node.getProperty(DSL_PROPERTY_NAME);
+ Node dslNode = this.node.getSession().getNodeByUUID(dslProperty.getString());
+ return new DslItem(this.rulesRepository, dslNode);
+ }
+ catch(PathNotFoundException e) {
+ //not set
+ return null;
+ }
+ catch(Exception e) {
+ log.error("Caught exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Nicely formats the information contained by the node that this object encapsulates
+ */
+ public String toString() {
+ try {
+ StringBuffer returnString = new StringBuffer();
+ returnString.append("Content of rule node named " + this.node.getName() + ":\n");
+ returnString.append(this.getContent() + "\n");
+ returnString.append("------\n");
+
+ returnString.append("Rule state: ");
+ StateItem stateItem = this.getState();
+ if(stateItem != null) {
+ returnString.append(this.getState().getName() + "\n");
+ }
+ else {
+ returnString.append("NO STATE SET FOR THIS NODE");
+ }
+ returnString.append("------\n");
+
+ returnString.append("Rule tags:\n");
+ for(Iterator it=this.getTags().iterator(); it.hasNext();) {
+ TagItem currentTag = (TagItem)it.next();
+ returnString.append(currentTag.getName() + "\n");
+ }
+ returnString.append("--------------\n");
+ return returnString.toString();
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ return null;
+ }
+ }
+}
\ No newline at end of file
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RuleItem.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RulePackageItem.java
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RulePackageItem.java 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RulePackageItem.java 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,266 @@
+package org.drools.repository;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.jcr.Node;
+import javax.jcr.PathNotFoundException;
+import javax.jcr.Property;
+import javax.jcr.RepositoryException;
+import javax.jcr.UnsupportedRepositoryOperationException;
+import javax.jcr.Value;
+import javax.jcr.ValueFactory;
+
+import org.apache.log4j.Logger;
+
+//TODO: consider allowing ruleSets to aggregate other ruleSets in addition to rules
+//TODO: exclude duplicate references
+//TODO: add remove function
+
+/**
+ * A ruleSet object aggregates a set of rules. This is advantageous for systems using the JBoss Rules
+ * engine where the application might make use of many related rules.
+ * <p>
+ * A rule set refers to rule nodes within the RulesRepository. It can either have the reference to a
+ * specific rule follow the head version of that rule, or have this reference continue to refer to
+ * a specific version of that rule even when a new version of the rule is checked into the repository
+ *
+ * @author btruitt
+ */
+public class RulePackageItem extends Item {
+ private static Logger log = Logger.getLogger(RulePackageItem.class);
+
+ /**
+ * The name of the reference property on the rulepackage_node_type type node that objects of
+ * this type hold a reference to
+ */
+ public static final String RULE_REFERENCE_PROPERTY_NAME = "drools:rule_reference";
+
+ /**
+ * The name of the rule package node type
+ */
+ public static final String RULE_PACKAGE_TYPE_NAME = "drools:rulepackage_node_type";
+
+ /**
+ * Constructs an object of type RulePackageItem corresponding the specified node
+ * @param rulesRepository the rulesRepository that instantiated this object
+ * @param node the node to which this object corresponds
+ * @throws RulesRepositoryException
+ */
+ public RulePackageItem(RulesRepository rulesRepository, Node node) throws RulesRepositoryException {
+ super(rulesRepository, node);
+
+ try {
+ //make sure this node is a rule package node
+ if(!(this.node.getPrimaryNodeType().getName().equals(RULE_PACKAGE_TYPE_NAME))) {
+ String message = this.node.getName() + " is not a node of type " + RULE_PACKAGE_TYPE_NAME + ". It is a node of type: " + this.node.getPrimaryNodeType().getName();
+ log.error(message);
+ throw new RulesRepositoryException(message);
+ }
+ }
+ catch(Exception e) {
+ log.error("Caught exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Adds a rule to the rule package node this object represents. The reference to the rule
+ * will follow the head version of the specified rule's node.
+ *
+ * @param ruleItem the ruleItem corresponding to the node to add to the rule package this
+ * object represents
+ * @throws RulesRepositoryException
+ */
+ public void addRule(RuleItem ruleItem) throws RulesRepositoryException {
+ this.addRule(ruleItem, true);
+ }
+
+ /**
+ * Adds a rule to the rule package node this object represents. The reference to the rule
+ * will optionally follow the head version of the specified rule's node or the specific
+ * current version.
+ *
+ * @param ruleItem the ruleItem corresponding to the node to add to the rule package this
+ * object represents
+ * @param followRuleHead if true, the reference to the rule node will follow the head version
+ * of the node, even if new versions are added. If false, will refer
+ * specifically to the current version.
+ * @throws RulesRepositoryException
+ */
+ public void addRule(RuleItem ruleItem, boolean followRuleHead) throws RulesRepositoryException {
+ try {
+ ValueFactory factory = this.node.getSession().getValueFactory();
+ int i = 0;
+ Value[] newValueArray = null;
+
+ try {
+ Value[] oldValueArray = this.node.getProperty(RULE_REFERENCE_PROPERTY_NAME).getValues();
+ newValueArray = new Value[oldValueArray.length + 1];
+
+ for(i=0; i<oldValueArray.length; i++) {
+ newValueArray[i] = oldValueArray[i];
+ }
+ }
+ catch(PathNotFoundException e) {
+ //the property has not been created yet. do so now
+ newValueArray = new Value[1];
+ }
+ finally {
+ if(newValueArray != null) { //just here to make the compiler happy
+ if(followRuleHead) {
+ newValueArray[i] = factory.createValue(ruleItem.getNode());
+ }
+ else {
+ newValueArray[i] = factory.createValue(ruleItem.getNode().getBaseVersion());
+ }
+ this.node.checkout();
+ this.node.setProperty(RULE_REFERENCE_PROPERTY_NAME, newValueArray);
+ this.node.getSession().save();
+ this.node.checkin();
+ }
+ else {
+ throw new RulesRepositoryException("Unexpected null pointer for newValueArray");
+ }
+ }
+ }
+ catch(UnsupportedRepositoryOperationException e) {
+ String message = "";
+ try {
+ message = "Error: Caught UnsupportedRepositoryOperationException when attempting to get base version for rule: " + ruleItem.getNode().getName() + ". Are you sure your JCR repository supports versioning? ";
+ log.error(message + e);
+ }
+ catch (RepositoryException e1) {
+ log.error("Caught exception: " + e1);
+ throw new RulesRepositoryException(message, e1);
+ }
+ log.error("Caught exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ catch(Exception e) {
+ log.error("Caught exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Removes the specified rule from the rule package node this object represents.
+ *
+ * @param ruleItem the ruleItem corresponding to the node to remove from the rule package
+ * this object represents
+ * @throws RulesRepositoryException
+ */
+ public void removeRule(RuleItem ruleItem) throws RulesRepositoryException {
+ try {
+ Value[] oldValueArray = this.node.getProperty(RULE_REFERENCE_PROPERTY_NAME).getValues();
+ Value[] newValueArray = new Value[oldValueArray.length - 1];
+
+ boolean wasThere = false;
+
+ int j=0;
+ for(int i=0; i<oldValueArray.length; i++) {
+ Node ruleNode = this.node.getSession().getNodeByUUID(oldValueArray[i].getString());
+ RuleItem currentRuleItem = new RuleItem(this.rulesRepository, ruleNode);
+ if(currentRuleItem.equals(ruleItem)) {
+ wasThere = true;
+ }
+ else {
+ newValueArray[j] = oldValueArray[i];
+ j++;
+ }
+ }
+
+ if(!wasThere) {
+ return;
+ }
+ else {
+ this.node.checkout();
+ this.node.setProperty(RULE_REFERENCE_PROPERTY_NAME, newValueArray);
+ this.node.getSession().save();
+ this.node.checkin();
+ }
+ }
+ catch(PathNotFoundException e) {
+ //the property has not been created yet.
+ return;
+ }
+ catch(Exception e) {
+ log.error("Caught exception", e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Gets a list of RuleItem objects for each rule node in this rule package
+ *
+ * @return the List object holding the RuleItem objects in this rule package
+ * @throws RulesRepositoryException
+ */
+ public List getRules() throws RulesRepositoryException {
+ try {
+ Value[] valueArray = this.node.getProperty(RULE_REFERENCE_PROPERTY_NAME).getValues();
+ List returnList = new ArrayList();
+
+ for(int i=0; i<valueArray.length; i++) {
+ Node ruleNode = this.node.getSession().getNodeByUUID(valueArray[i].getString());
+ returnList.add(new RuleItem(this.rulesRepository, ruleNode));
+ }
+ return returnList;
+ }
+ catch(PathNotFoundException e) {
+ //the property has not been created yet.
+ return new ArrayList();
+ }
+ catch(Exception e) {
+ log.error("Caught exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Removes all rules from the rule package
+ *
+ * @throws RulesRepositoryException
+ */
+ public void removeAllRules() throws RulesRepositoryException {
+ try {
+ Property rulesProperty = this.node.getProperty(RULE_REFERENCE_PROPERTY_NAME);
+ this.node.checkout();
+ rulesProperty.remove();
+ this.node.save();
+ this.node.checkin();
+ }
+ catch(PathNotFoundException e) {
+ //the property has not been created yet.
+ return;
+ }
+ catch(Exception e) {
+ log.error("Caught exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Nicely formats the information contained by the node that this object encapsulates
+ */
+ public String toString() {
+ try {
+ StringBuffer returnString = new StringBuffer();
+ returnString.append("These are the rules in the rule package named " + this.node.getName() + ":");
+
+ //iterate over the rules in this rule package and dump them
+ Property rulesProp = this.node.getProperty(RULE_REFERENCE_PROPERTY_NAME);
+ Value[] values = rulesProp.getValues();
+ for(int i=0; i<values.length; i++) {
+ Node ruleNode = this.node.getSession().getNodeByUUID(values[i].getString());
+ RuleItem ruleItem = new RuleItem(this.rulesRepository, ruleNode);
+ returnString.append(ruleItem.toString());
+ }
+ return returnString.toString();
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ return null;
+ }
+ }
+}
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RulePackageItem.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RulesRepository.java
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RulesRepository.java 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RulesRepository.java 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,654 @@
+package org.drools.repository;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileReader;
+import java.util.Calendar;
+import java.util.Iterator;
+import java.util.List;
+import java.util.StringTokenizer;
+
+import javax.jcr.NamespaceException;
+import javax.jcr.Node;
+import javax.jcr.NodeIterator;
+import javax.jcr.PathNotFoundException;
+import javax.jcr.Property;
+import javax.jcr.PropertyIterator;
+import javax.jcr.Repository;
+import javax.jcr.RepositoryException;
+import javax.jcr.Session;
+import javax.jcr.SimpleCredentials;
+import javax.jcr.UnsupportedRepositoryOperationException;
+import javax.jcr.Value;
+import javax.jcr.Workspace;
+
+import org.apache.jackrabbit.core.TransientRepository;
+import org.apache.jackrabbit.core.nodetype.InvalidNodeTypeDefException;
+import org.apache.jackrabbit.core.nodetype.NodeTypeDef;
+import org.apache.jackrabbit.core.nodetype.NodeTypeManagerImpl;
+import org.apache.jackrabbit.core.nodetype.NodeTypeRegistry;
+import org.apache.jackrabbit.core.nodetype.compact.CompactNodeTypeDefReader;
+import org.apache.log4j.Logger;
+
+//TODO: fix logging
+//TODO: make imports and globals attributes of a rulepackage
+//TODO: functions have their own area, like rules, packages also reference these
+//TODO: add support for authentication / permissions / ownership ( http://dublincore.org/documents/dces/)
+//TODO: add ability to lock a node to prevent concurrent editing
+//TODO: add support for exporting / importing
+//TODO: add support for observation
+//TODO: make the rule node have a child node of type nt:file for documentation
+//TODO: add support for searching
+//TODO: rename tag to category
+
+/**
+ * RulesRepository is the class that defines the bahavior for the JBoss Rules (drools) rule repository
+ * based upon the JCR specification (JSR-170).
+ * <p>
+ * An instance of this class is capable of storing rules used by the JBoss Rule engine. It also
+ * provides a versioning capability for rules. Rules can be imported from specified files. The
+ * RulesRepository is also capable of storing DSL content. Rules can be explicitly tied to a
+ * particular DSL node within the repository, and this reference can either follow the head version,
+ * or a specific version of the DSL node.
+ * <p>
+ * The RulesRepository also is capable of storing RulePackages, which aggregate one or more Rules into
+ * a set. RulePackages hold references to the nodes storing the content of the rules in the set within
+ * the repository. Each entry in a rulepackage can either refer to the head version of the given rule
+ * node, or a specific version.
+ * <p>
+ * Rules can be tagged. Tags are stored in a separate area of the repository, and can be added on
+ * demand. Rules can have 0 or more tags. Tags are intended to help provide a means for searching
+ * for specific types of rules quickly, even when they aren't all part of the same rulepackage.
+ * <p>
+ * Rules can be associated with 0 or 1 states. States are created in a seperate area of the
+ * repository. States are intended to help track the progress of a rule as it traverses its life-
+ * cycle. (e.g. draft, approved, deprecated, etc.)
+ *
+ * @author btruitt
+ */
+public class RulesRepository {
+ private static final Logger log = Logger.getLogger(RulesRepository.class);
+
+ /**
+ * The name of the rulepackage area of the repository
+ */
+ public final static String RULE_PACKAGE_AREA = "drools:rulepackage_area";
+
+ /**
+ * The name of the rule area of the repository
+ */
+ public final static String RULE_AREA = "drools:rule_area";
+
+ /**
+ * The name of the DSL area of the repository
+ */
+ public final static String DSL_AREA = "drools:dsl_area";
+
+ /**
+ * The name of the tag area of the repository
+ */
+ public final static String TAG_AREA = "drools:tag_area";
+
+ /**
+ * The name of the state area of the repository
+ */
+ public final static String STATE_AREA = "drools:state_area";
+
+ /**
+ * The name of the rules repository within the JCR repository
+ */
+ public final static String RULES_REPOSITORY_NAME = "drools:repository";
+
+ private Repository repository;
+ private Session session;
+
+ /**
+ * This will create the JCR repository automatically if it does not already exist.
+ * It will call setupRepository() to attempt to setup the repository, in case
+ * it has not already been setup.
+ */
+ public RulesRepository() {
+ this(false);
+ }
+
+ /**
+ * This will create the JCR repository automatically if it does not already exist.
+ * It will call setupRepository() to attempt to setup the repository, in case
+ * it has not already been setup.
+ *
+ * @param clearRepository whether or not to erase the contents of the rules repository
+ * portion of the JCR repository
+ */
+ public RulesRepository(boolean clearRepository) {
+ try {
+ //TODO: probably want to do something more serious than automatic creation of a
+ // transientRepository here. (e.g. manual creation of the repository to be
+ // JCR implementation neutral). be sure to update the javadoc
+ repository = new TransientRepository();
+ session = repository.login(
+ new SimpleCredentials("username", "password".toCharArray()));
+
+ if(this.session == null) {
+ log.error("LOGIN FAILED! SESSION IS NULL!");
+ }
+
+ if(clearRepository) {
+ this.clearRepository();
+ }
+
+ setupRepository();
+ }
+ catch (Exception e) {
+ log.error("Caught Exception", e);
+ }
+ }
+
+ /**
+ * Clears out the entire tree below the rules repository node of the JCR repository.
+ */
+ public void clearRepository() {
+ try {
+ log.info("Clearing rules repository");
+ Node node = session.getRootNode().getNode(RULES_REPOSITORY_NAME);
+ node.remove();
+ }
+ catch(PathNotFoundException e) {
+ //doesn't exist yet. no biggie.
+ }
+ catch(RepositoryException e) {
+ //this will happen on the first setup. no biggie.
+ }
+ }
+
+ private void registerNodeTypesFromCndFile(String cndFileName, Workspace ws) throws RulesRepositoryException, InvalidNodeTypeDefException {
+ try {
+ //Read in the CND file
+ FileReader fileReader = new FileReader(cndFileName);
+
+ // Create a CompactNodeTypeDefReader
+ CompactNodeTypeDefReader cndReader = new CompactNodeTypeDefReader(fileReader, cndFileName);
+
+ // Get the List of NodeTypeDef objects
+ List ntdList = cndReader.getNodeTypeDefs();
+
+ // Get the NodeTypeManager from the Workspace.
+ // Note that it must be cast from the generic JCR NodeTypeManager to the
+ // Jackrabbit-specific implementation.
+ NodeTypeManagerImpl ntmgr = (NodeTypeManagerImpl)ws.getNodeTypeManager();
+
+ // Acquire the NodeTypeRegistry
+ NodeTypeRegistry ntreg = ntmgr.getNodeTypeRegistry();
+
+ // Loop through the prepared NodeTypeDefs
+ for(Iterator i = ntdList.iterator(); i.hasNext();) {
+ // Get the NodeTypeDef...
+ NodeTypeDef ntd = (NodeTypeDef)i.next();
+
+ log.debug("Attempting to regsiter node type named: " + ntd.getName());
+
+ // ...and register it
+ ntreg.registerNodeType(ntd);
+ }
+ }
+ catch(InvalidNodeTypeDefException e) {
+ log.warn("InvalidNodeTypeDefinitionException caught when trying to add node from CND file: " + cndFileName + ". This will happen if the node type was already registered. " + e);
+ throw e;
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Attempts to setup the repository. If the work that it tries to do has already been done, it
+ * will return with modifying the repository.
+ *
+ * @throws RulesRepositoryException
+ */
+ protected void setupRepository() throws RulesRepositoryException {
+ try {
+ Node root = session.getRootNode();
+ Workspace ws = session.getWorkspace();
+
+ // Setup the namespace
+ try {
+ ws.getNamespaceRegistry().registerNamespace("drools", "http://www.jboss.org/drools-repository/1.0");
+ }
+ catch(NamespaceException e) {
+ //already registered. do nothing.
+ log.info("drools namespace already registered");
+ }
+
+ // Setup the dsl node type
+ try {
+ //TODO: remove hard-coded path
+ this.registerNodeTypesFromCndFile("./src/node_type_definitions/dsl_node_type.cnd", ws);
+ }
+ catch(InvalidNodeTypeDefException e) {
+ //This will happen in the node type is already registered, so ignore it
+ }
+
+ // Setup the tag node type
+ try {
+ //TODO: remove hard-coded path
+ this.registerNodeTypesFromCndFile("./src/node_type_definitions/tag_node_type.cnd", ws);
+ }
+ catch(InvalidNodeTypeDefException e) {
+ //This will happen in the node type is already registered, so ignore it
+ }
+
+ //Setup the tag node type
+ try {
+ //TODO: remove hard-coded path
+ this.registerNodeTypesFromCndFile("./src/node_type_definitions/state_node_type.cnd", ws);
+ }
+ catch(InvalidNodeTypeDefException e) {
+ //This will happen in the node type is already registered, so ignore it
+ }
+
+ // Setup the rule node type
+ try {
+ //TODO: remove hard-coded path
+ this.registerNodeTypesFromCndFile("./src/node_type_definitions/rule_node_type.cnd", ws);
+ }
+ catch(InvalidNodeTypeDefException e) {
+ //This will happen in the node type is already registered, so ignore it
+ }
+
+ // Setup the rulepackage node type
+ try {
+ //TODO: remove hard-coded path
+ this.registerNodeTypesFromCndFile("./src/node_type_definitions/rulepackage_node_type.cnd", ws);
+ }
+ catch(InvalidNodeTypeDefException e) {
+ //This will happen in the node type is already registered, so ignore it
+ }
+
+ // Setup the rule repository node
+ Node repositoryNode = addNodeIfNew(root, RULES_REPOSITORY_NAME, "nt:folder");
+
+ // Setup the Rule area
+ addNodeIfNew(repositoryNode, RULE_AREA, "nt:folder");
+
+ // Setup the RulePackageItem area
+ addNodeIfNew(repositoryNode, RULE_PACKAGE_AREA, "nt:folder");
+
+ // Setup the DSL area
+ addNodeIfNew(repositoryNode, DSL_AREA, "nt:folder");
+
+ //Setup the DSL area
+ addNodeIfNew(repositoryNode, TAG_AREA, "nt:folder");
+
+ //Setup the State area
+ addNodeIfNew(repositoryNode, STATE_AREA, "nt:folder");
+
+ session.save();
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Will add a node named 'nodeName' of type 'type' to 'parent' if such a node does not already
+ * exist.
+ *
+ * @param parent the parent node to add the new node to
+ * @param nodeName the name of the new node
+ * @param type the type of the new node
+ * @return a reference to the Node object that is created by the addition, or, if the node already
+ * existed, a reference to the pre-existant node.
+ * @throws RulesRepositoryException
+ */
+ protected Node addNodeIfNew(Node parent, String nodeName, String type) throws RulesRepositoryException {
+ Node node;
+ try {
+ node = parent.getNode(nodeName);
+ }
+ catch(PathNotFoundException e) {
+ //it doesn't exist yet, so create it
+ try {
+ log.debug("Adding new node of type: " + type + " named: " + nodeName + " to parent node named " + parent.getName());
+
+ node = parent.addNode(nodeName, type);
+ }
+ catch (Exception e1) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e1);
+ }
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e);
+ }
+ return node;
+ }
+
+ /**
+ * Explicitly logout of the underlying JCR repository. If this is the last session to that
+ * repository, the repository will automatically be shutdown.
+ */
+ public void logout() {
+ this.session.logout();
+ }
+
+ /**
+ * Recursively outputs the contents of the workspace starting from root. The large subtree
+ * called jcr:system is skipped. This method is just here for programmatic debugging
+ * purposes, and should be removed.
+ *
+ * @throws RulesRepositoryException
+ */
+ public void dumpRepository() throws RulesRepositoryException {
+ try {
+ this.dump(this.session.getRootNode());
+ }
+ catch(Exception e) {
+ log.error("Caught exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Recursively outputs the contents of the given node. Used for debugging purposes.
+ */
+ private void dump(final Node node) throws RulesRepositoryException {
+ try {
+ // First output the node path
+ System.out.println(node.getPath());
+ // Skip the virtual (and large!) jcr:system subtree
+ /*if (node.getName().equals("jcr:system")) {
+ return;
+ }*/
+
+ // Then output the properties
+ PropertyIterator properties = node.getProperties();
+ while (properties.hasNext()) {
+ Property property = properties.nextProperty();
+ if (property.getDefinition().isMultiple()) {
+ // A multi-valued property, print all values
+ Value[] values = property.getValues();
+ for (int i = 0; i < values.length; i++) {
+ System.out.println(
+ property.getPath() + " = " + values[i].getString());
+ }
+ } else {
+ // A single-valued property
+ System.out.println(
+ property.getPath() + " = " + property.getString());
+ }
+ }
+
+ // Finally output all the child nodes recursively
+ NodeIterator nodes = node.getNodes();
+ while (nodes.hasNext()) {
+ dump(nodes.nextNode());
+ }
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ private Node getAreaNode(String areaName) throws RulesRepositoryException {
+ Node folderNode = null;
+ int tries = 0;
+ while(folderNode == null && tries < 2) {
+ try {
+ tries++;
+ folderNode = this.session.getRootNode().getNode(RULES_REPOSITORY_NAME + "/" + areaName);
+ }
+ catch(PathNotFoundException e) {
+ if(tries == 1) {
+ //hmm..repository must have gotten screwed up. set it up again
+ log.warn("The repository appears to have become corrupted. It will be re-setup now.");
+ this.setupRepository();
+ }
+ else {
+ log.error("Unable to correct repository corruption");
+ }
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException("Caught exception " + e.getClass().getName(), e);
+ }
+ }
+ if(folderNode == null) {
+ String message = "Could not get a reference to a node for " + RULES_REPOSITORY_NAME + "/" + areaName;
+ log.error(message);
+ throw new RulesRepositoryException(message);
+ }
+ return folderNode;
+ }
+
+ /**
+ * Adds a DSL node in the repository using the content and attributes of the specified file
+ *
+ * @param file the file to use to import the DSL content and attributes
+ * @return a DslItem object encapsulating the node that gets added
+ * @throws RulesRepositoryException
+ */
+ public DslItem addDslFromFile(File file) throws RulesRepositoryException {
+ Node folderNode = this.getAreaNode(DSL_AREA);
+
+ try {
+ //create the node - see section 6.7.22.6 of the spec
+ Node dslNode = folderNode.addNode(file.getName(), DslItem.DSL_NODE_TYPE_NAME);
+
+ //create the mandatory child node - jcr:content
+ Node resNode = dslNode.addNode("jcr:content", "nt:resource");
+ resNode.setProperty("jcr:mimeType", "text/plain");
+ resNode.setProperty("jcr:encoding", System.getProperty("file.encoding")); //TODO: is this right?
+ resNode.setProperty("jcr:data", new FileInputStream(file));
+ Calendar lastModified = Calendar.getInstance();
+ lastModified.setTimeInMillis(file.lastModified());
+ resNode.setProperty("jcr:lastModified", lastModified);
+
+ this.session.save();
+
+ try {
+ dslNode.checkin();
+ }
+ catch(UnsupportedRepositoryOperationException e) {
+ String message = "Error: Caught UnsupportedRepositoryOperationException when attempting to checkin dsl: " + dslNode.getName() + ". Are you sure your JCR repository supports versioning? ";
+ log.error(message + e);
+ throw new RulesRepositoryException(message, e);
+ }
+
+ return new DslItem(this, dslNode);
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Adds a Rule node in the repository using the content and attributes of the specified file
+ *
+ * @param file the file to use to import the DSL content and attributes
+ * @return a RuleItem object encapsulating the node that gets added
+ * @throws RulesRepositoryException
+ */
+ public RuleItem addRuleFromFile(File file) throws RulesRepositoryException {
+ Node folderNode = this.getAreaNode(RULE_AREA);
+
+ try {
+ //create the node - see section 6.7.22.6 of the spec
+ Node ruleNode = folderNode.addNode(file.getName(), RuleItem.RULE_NODE_TYPE_NAME);
+
+ //create the mandatory child node - jcr:content
+ Node resNode = ruleNode.addNode("jcr:content", "nt:resource");
+ resNode.setProperty("jcr:mimeType", "text/plain");
+ resNode.setProperty("jcr:encoding", System.getProperty("file.encoding")); //TODO: is this right?
+ resNode.setProperty("jcr:data", new FileInputStream(file));
+ Calendar lastModified = Calendar.getInstance();
+ lastModified.setTimeInMillis(file.lastModified());
+ resNode.setProperty("jcr:lastModified", lastModified);
+
+ session.save();
+
+ try {
+ ruleNode.checkin();
+ }
+ catch(UnsupportedRepositoryOperationException e) {
+ String message = "Error: Caught UnsupportedRepositoryOperationException when attempting to checkin rule: " + ruleNode.getName() + ". Are you sure your JCR repository supports versioning? ";
+ log.error(message + e);
+ throw new RulesRepositoryException(message, e);
+ }
+
+ return new RuleItem(this, ruleNode);
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Adds a Rule node in the repository using the content and attributes of the specified file.
+ * Links the newly created node with the specified DSL node within the repository. This link
+ * will follow the head verion of the DSL node.
+ *
+ * @param file the file to use to import the DSL content and attributes
+ * @param dslItem the DslItem containing the node to link the newly created rule node with
+ * @return a RuleItem object encapsulting the node that gets added
+ * @throws RulesRepositoryException
+ */
+ public RuleItem addRuleFromFile(File file, DslItem dslItem) throws RulesRepositoryException {
+ return this.addRuleFromFile(file, dslItem, true);
+ }
+
+ /**
+ * Adds a Rule node in the repository using the content and attributes of the specified file.
+ * Links the newly created node with the specified DSL node within the repository.
+ *
+ * @param file the file to use to import the DSL content and attributes
+ * @param dslItem the DslItem containing the node to link the newly created rule node with
+ * @param followDslHead if true, the link to the DSL node will follow the head revision of that
+ * node. if false, it will continue to refer to the specified version even
+ * if a new version of the DSL node is checked in
+ * @return a RuleItem object encapsulating the node that gets added
+ * @throws RulesRepositoryException
+ */
+ public RuleItem addRuleFromFile(File file, DslItem dslItem, boolean followDslHead) throws RulesRepositoryException {
+ RuleItem ruleItem = addRuleFromFile(file);
+ Node ruleNode = ruleItem.getNode();
+
+ try {
+ //Now associate the dsl node with this rule
+ ruleNode.checkout();
+
+ if(followDslHead) {
+ ruleNode.setProperty(RuleItem.DSL_PROPERTY_NAME, dslItem.getNode());
+ }
+ else {
+ //tie the ruleNode to specifically the current version of the dslNode
+ ruleNode.setProperty(RuleItem.DSL_PROPERTY_NAME, dslItem.getNode().getBaseVersion());
+ }
+
+ this.session.save();
+ ruleNode.checkin();
+ }
+ catch(UnsupportedRepositoryOperationException e) {
+ String message = "";
+ try {
+ message = "Error: Caught UnsupportedRepositoryOperationException for the rule: " + ruleNode.getName() + ". Are you sure your JCR repository supports versioning? ";
+ log.error(message + e);
+ }
+ catch (RepositoryException e1) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e1);
+ }
+ throw new RulesRepositoryException(message, e);
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e);
+ }
+
+ return ruleItem;
+ }
+
+ /**
+ * Adds a rule package node in the repository. This node has a property called
+ * drools:rule_reference that is a multi-value reference property. It will hold an array of
+ * references to rule nodes that are subsequently added.
+ *
+ * @param name what to name the node added
+ * @return a RulePackageItem, encapsulating the created node
+ * @throws RulesRepositoryException
+ */
+ public RulePackageItem createRulePackage(String name) throws RulesRepositoryException {
+ Node folderNode = this.getAreaNode(RULE_PACKAGE_AREA);
+
+ try {
+ //create the node - see section 6.7.22.6 of the spec
+ Node rulePackageNode = folderNode.addNode(name, RulePackageItem.RULE_PACKAGE_TYPE_NAME);
+ this.session.save();
+ rulePackageNode.checkin();
+ return new RulePackageItem(this, rulePackageNode);
+ }
+ catch(Exception e) {
+ log.error("Caught Exception", e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Gets a StateItem for the specified state name. If a node for the specified state does not
+ * yet exist, one is first created.
+ *
+ * @param name the name of the state to get
+ * @return a StateItem object encapsulating the retreived node
+ * @throws RulesRepositoryException
+ */
+ public StateItem getState(String name) throws RulesRepositoryException {
+ try {
+ Node folderNode = this.getAreaNode(STATE_AREA);
+ Node stateNode = this.addNodeIfNew(folderNode, name, StateItem.STATE_NODE_TYPE_NAME);
+ return new StateItem(this, stateNode);
+ }
+ catch(Exception e) {
+ log.error("Caught Exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * Gets a TagItem object that encapsulates the node for the specified tag name. If the tag does
+ * not already exist in the repository when this is called, it is first added to the repository
+ * and then returned.
+ *
+ * @param tagName the name of the tag to get. If the tag to get is within a heirarchy of
+ * tag nodes, specify the full path to the tag node of interest (e.g. if
+ * you want to get back 'child-tag', use "parent-tag/child-tag")
+ * @return a TagItem object encapsulating the node for the tag in the repository
+ * @throws RulesRepositoryException
+ */
+ public TagItem getTag(String tagName) throws RulesRepositoryException {
+ log.debug("getting tag with name: " + tagName);
+
+ try {
+ Node folderNode = this.getAreaNode(TAG_AREA);
+ Node tagNode = null;
+
+ StringTokenizer tok = new StringTokenizer(tagName, "/");
+ while(tok.hasMoreTokens()) {
+ String currentTagName = tok.nextToken();
+
+ tagNode = this.addNodeIfNew(folderNode, currentTagName, TagItem.TAG_NODE_TYPE_NAME);
+ folderNode = tagNode;
+ }
+
+ return new TagItem(this, tagNode);
+ }
+ catch(Exception e) {
+ log.error("Caught Exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+}
\ No newline at end of file
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RulesRepository.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RulesRepositoryException.java
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RulesRepositoryException.java 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RulesRepositoryException.java 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,51 @@
+package org.drools.repository;
+
+/**
+ * The main exception thrown by classes in this package. May contain an error message and/or another
+ * nested exception.
+ *
+ * @author btruitt
+ */
+public class RulesRepositoryException extends Exception {
+
+ /**
+ * version id for serialization purposes
+ */
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Default constructor. constructs a RulesRepositoryException object with null as its detail
+ * message
+ */
+ public RulesRepositoryException() {
+ //nothing extra
+ }
+
+ /**
+ * Constructs a new instance of this class with the specified detail message.
+ *
+ * @param message the message to set for the exception
+ */
+ public RulesRepositoryException(String message) {
+ super(message);
+ }
+
+ /**
+ * Constructs a new instance of this class with the specified root cause.
+ *
+ * @param rootCause root failure cause
+ */
+ public RulesRepositoryException(Throwable rootCause) {
+ super(rootCause);
+ }
+
+ /**
+ * Constructs a new instance of this class with the specified detail message and root cause.
+ *
+ * @param message the message to set for the exception
+ * @param rootCause root failure cause
+ */
+ public RulesRepositoryException(String message, Throwable rootCause) {
+ super(message, rootCause);
+ }
+}
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/RulesRepositoryException.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/StateItem.java
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/StateItem.java 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/StateItem.java 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,43 @@
+package org.drools.repository;
+
+import javax.jcr.Node;
+
+import org.apache.log4j.Logger;
+
+/**
+ * The StateItem class abstracts away details of the underlying JCR repository.
+ *
+ * @author btruitt
+ */
+public class StateItem extends Item {
+ private Logger log = Logger.getLogger(StateItem.class);
+
+ /**
+ * The name of the state node type
+ */
+ public static final String STATE_NODE_TYPE_NAME = "drools:state_node_type";
+
+ /**
+ * Constructs an object of type StateItem corresponding the specified node
+ *
+ * @param rulesRepository the rulesRepository that instantiated this object
+ * @param node the node to which this object corresponds
+ * @throws RulesRepositoryException
+ */
+ public StateItem(RulesRepository rulesRepository, Node node) throws RulesRepositoryException {
+ super(rulesRepository, node);
+
+ try {
+ //make sure this node is a state node
+ if(!(this.node.getPrimaryNodeType().getName().equals(STATE_NODE_TYPE_NAME))) {
+ String message = this.node.getName() + " is not a node of type " + STATE_NODE_TYPE_NAME + ". It is a node of type: " + this.node.getPrimaryNodeType().getName();
+ log.error(message);
+ throw new RulesRepositoryException(message);
+ }
+ }
+ catch(Exception e) {
+ log.error("Caught exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+}
\ No newline at end of file
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/StateItem.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/TagItem.java
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/TagItem.java 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/TagItem.java 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,110 @@
+package org.drools.repository;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.jcr.Node;
+import javax.jcr.NodeIterator;
+import javax.jcr.RepositoryException;
+
+import org.apache.log4j.Logger;
+
+/**
+ * The TagItem class abstracts away details of the underlying JCR repository.
+ *
+ * @author btruitt
+ */
+public class TagItem extends Item {
+ private Logger log = Logger.getLogger(TagItem.class);
+
+ /**
+ * The name of the tag node type
+ */
+ public static final String TAG_NODE_TYPE_NAME = "drools:tag_node_type";
+
+ /**
+ * Constructs an object of type TagItem corresponding the specified node
+ * @param rulesRepository the rulesRepository that instantiated this object
+ * @param node the node to which this object corresponds
+ * @throws RulesRepositoryException
+ */
+ public TagItem(RulesRepository rulesRepository, Node node) throws RulesRepositoryException {
+ super(rulesRepository, node);
+
+ try {
+ //make sure this node is a tag node
+ if(!(this.node.getPrimaryNodeType().getName().equals(TAG_NODE_TYPE_NAME))) {
+ String message = this.node.getName() + " is not a node of type " + TAG_NODE_TYPE_NAME + ". It is a node of type: " + this.node.getPrimaryNodeType().getName();
+ log.error(message);
+ throw new RulesRepositoryException(message);
+ }
+ }
+ catch(Exception e) {
+ log.error("Caught exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * @return the full path of this tag, rooted at the tag area of the repository.
+ * @throws RulesRepositoryException
+ */
+ public String getFullPath() throws RulesRepositoryException {
+ try {
+ log.debug("getting full path for node named: " + this.node.getName());
+
+ StringBuffer returnString = new StringBuffer();
+ returnString.append(this.node.getName());
+ Node parentNode = this.node.getParent();
+ while(!parentNode.getName().equals(RulesRepository.TAG_AREA)) {
+ returnString.insert(0, parentNode.getName() + "/");
+ parentNode = parentNode.getParent();
+ }
+ return returnString.toString();
+ }
+ catch(Exception e) {
+ log.error("Caught Exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+
+ /**
+ * @return a List of the immediate children of this tag
+ * @throws RulesRepositoryException
+ */
+ public List getChildTags() throws RulesRepositoryException {
+ List children = new ArrayList();
+
+ try {
+ NodeIterator it = this.node.getNodes();
+ while(it.hasNext()) {
+ Node currentNode = it.nextNode();
+ children.add(new TagItem(this.rulesRepository, currentNode));
+ }
+ }
+ catch(Exception e) {
+ log.error("Caught Exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+
+ return children;
+ }
+
+ /**
+ * Gets a TagItem object encapsulating the specified child tag. If the child tag
+ * doesn't exist, it is created.
+ *
+ * @param tagName the name of the child tag to get or add
+ * @return a TagItem encapsulating the specified child tag
+ * @throws RulesRepositoryException
+ */
+ public TagItem getChildTag(String tagName) throws RulesRepositoryException {
+ try {
+ return this.rulesRepository.getTag(this.getFullPath() + "/" + tagName);
+ }
+ catch(Exception e) {
+ log.error("Caught Exception: " + e);
+ throw new RulesRepositoryException(e);
+ }
+ }
+}
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/TagItem.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/AllTests.java
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/AllTests.java 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/AllTests.java 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,21 @@
+package org.drools.repository.test;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class AllTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("Test for org.drools.repository.test");
+ //$JUnit-BEGIN$
+ suite.addTestSuite(StateItemTestCase.class);
+ suite.addTestSuite(RulePackageItemTestCase.class);
+ suite.addTestSuite(DslItemTestCase.class);
+ suite.addTestSuite(RuleItemTestCase.class);
+ suite.addTestSuite(TagItemTestCase.class);
+ suite.addTestSuite(RulesRepositoryTestCase.class);
+ //$JUnit-END$
+ return suite;
+ }
+
+}
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/AllTests.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/DslItemTestCase.java
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/DslItemTestCase.java 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/DslItemTestCase.java 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,74 @@
+package org.drools.repository.test;
+
+import java.io.File;
+
+import org.drools.repository.DslItem;
+import org.drools.repository.RuleItem;
+import org.drools.repository.RulesRepository;
+import org.drools.repository.RulesRepositoryException;
+
+import junit.framework.TestCase;
+
+public class DslItemTestCase extends TestCase {
+ private RulesRepository rulesRepository;
+
+ protected void setUp() throws Exception {
+ super.setUp();
+
+ rulesRepository = new RulesRepository(true);
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ rulesRepository.logout();
+ }
+
+ public void testDslItem() {
+ try {
+ File dslFile1 = new File("./src/java/org/drools/repository/test/test_data/dsl1.dsl");
+
+ //This calls the constructor
+ DslItem dslItem1 = rulesRepository.addDslFromFile(dslFile1);
+
+ assertNotNull(dslItem1);
+ assertNotNull(dslItem1.getNode());
+ assertEquals("dsl1.dsl", dslItem1.getName());
+ }
+ catch(Exception e) {
+ fail("Unexpected Exception caught: " + e);
+ }
+
+ //try constructing a DslItem object with the wrong node type
+ try {
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/rule1.drl");
+
+ //Get a reference to a node of the incorrect type
+ RuleItem ruleItem1 = rulesRepository.addRuleFromFile(drlFile1);
+
+ //this should fail
+ DslItem dslItem2 = new DslItem(rulesRepository, ruleItem1.getNode());
+ fail("Exception not thrown by constructor for node of type: " + ruleItem1.getNode().getPrimaryNodeType().getName());
+ }
+ catch(RulesRepositoryException e) {
+ //this is what we expect
+ }
+ catch(Exception e) {
+ fail("Unexpected Exception caught: " + e);
+ }
+ }
+
+ public void testGetContent() {
+ try {
+ File dslFile1 = new File("./src/java/org/drools/repository/test/test_data/dsl2.dsl");
+
+ //This calls the constructor
+ DslItem dslItem1 = rulesRepository.addDslFromFile(dslFile1);
+
+ assertNotNull(dslItem1);
+ assertEquals("[then]Send escalation email=sendEscalationEmail( customer, ticket );", dslItem1.getContent());
+ }
+ catch(Exception e) {
+ fail("Unexpected Exception caught: " + e);
+ }
+ }
+}
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/DslItemTestCase.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/RuleItemTestCase.java
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/RuleItemTestCase.java 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/RuleItemTestCase.java 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,211 @@
+package org.drools.repository.test;
+
+import java.io.File;
+import java.util.List;
+
+import junit.framework.TestCase;
+
+import org.drools.repository.*;
+
+public class RuleItemTestCase extends TestCase {
+ private RulesRepository rulesRepository;
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ this.rulesRepository = new RulesRepository(true);
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ rulesRepository.logout();
+ }
+
+ public void testRuleItem() {
+ try {
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/drl1.drl");
+
+ //calls constructor
+ RuleItem ruleItem1 = this.rulesRepository.addRuleFromFile(drlFile1);
+
+ assertNotNull(ruleItem1);
+ assertNotNull(ruleItem1.getNode());
+ assertEquals("drl1.drl", ruleItem1.getName());
+ }
+ catch(Exception e) {
+ fail("Caught unexpected exception: " + e);
+ }
+
+ //try constructing with node of wrong type
+ try {
+ File dslFile1 = new File("./src/java/org/drools/repository/test/test_data/dsl1.dsl");
+ DslItem dslItem = rulesRepository.addDslFromFile(dslFile1);
+ RuleItem ruleItem = new RuleItem(this.rulesRepository, dslItem.getNode());
+ fail("Exception not thrown for node of type: " + dslItem.getNode().getPrimaryNodeType().getName());
+ }
+ catch(RulesRepositoryException e) {
+ //this is good
+ }
+ catch(Exception e) {
+ fail("Caught unexpected exception: " + e);
+ }
+ }
+
+ public void testGetContent() {
+ try {
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/drl3.drl");
+ RuleItem ruleItem1 = this.rulesRepository.addRuleFromFile(drlFile1);
+
+ assertNotNull(ruleItem1);
+ assertNotNull(ruleItem1.getNode());
+ assertEquals("package org.drools.examples", ruleItem1.getContent());
+ }
+ catch(Exception e) {
+ fail("Caught unexpected exception: " + e);
+ }
+ }
+
+ public void testUpdateContentFromFile() {
+ //TODO: maybe add some testing on the versioning stuff more - check the content of the
+ // previous version, etc.
+ try {
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/drl1.drl");
+ RuleItem ruleItem1 = this.rulesRepository.addRuleFromFile(drlFile1);
+
+ File drlFile2 = new File("./src/java/org/drools/repository/test/test_data/drl3.drl");
+ ruleItem1.updateContentFromFile(drlFile2);
+
+ assertEquals("package org.drools.examples", ruleItem1.getContent());
+ }
+ catch(Exception e) {
+ fail("Caught unexpected exception: " + e);
+ }
+ }
+
+ public void testAddTag() {
+ try {
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/drl1.drl");
+ RuleItem ruleItem1 = this.rulesRepository.addRuleFromFile(drlFile1);
+
+ ruleItem1.addTag("TestTag");
+ List tags = ruleItem1.getTags();
+ assertEquals(1, tags.size());
+ assertEquals("TestTag", ((TagItem)tags.get(0)).getName());
+
+ ruleItem1.addTag("TestTag2");
+ tags = ruleItem1.getTags();
+ assertEquals(2, tags.size());
+ }
+ catch(Exception e) {
+ fail("Caught unexpected exception: " + e);
+ }
+ }
+
+ public void testRemoveTag() {
+ try {
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/drl1.drl");
+ RuleItem ruleItem1 = this.rulesRepository.addRuleFromFile(drlFile1);
+
+ ruleItem1.addTag("TestTag");
+ ruleItem1.removeTag("TestTag");
+ List tags = ruleItem1.getTags();
+ assertEquals(0, tags.size());
+
+ ruleItem1.addTag("TestTag2");
+ ruleItem1.addTag("TestTag3");
+ ruleItem1.removeTag("TestTag2");
+ tags = ruleItem1.getTags();
+ assertEquals(1, tags.size());
+ assertEquals("TestTag3", ((TagItem)tags.get(0)).getName());
+ }
+ catch(Exception e) {
+ fail("Caught unexpected exception: " + e);
+ }
+ }
+
+ public void testGetTags() {
+ try {
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/drl1.drl");
+ RuleItem ruleItem1 = this.rulesRepository.addRuleFromFile(drlFile1);
+
+ List tags = ruleItem1.getTags();
+ assertNotNull(tags);
+ assertEquals(0, tags.size());
+
+ ruleItem1.addTag("TestTag");
+ tags = ruleItem1.getTags();
+ assertEquals(1, tags.size());
+ assertEquals("TestTag", ((TagItem)tags.get(0)).getName());
+ }
+ catch(Exception e) {
+ fail("Caught unexpected exception: " + e);
+ }
+ }
+
+ public void testSetStateString() {
+ try {
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/drl1.drl");
+ RuleItem ruleItem1 = this.rulesRepository.addRuleFromFile(drlFile1);
+
+ ruleItem1.setState("TestState1");
+ assertNotNull(ruleItem1.getState());
+ assertEquals("TestState1", ruleItem1.getState().getName());
+
+ ruleItem1.setState("TestState2");
+ assertNotNull(ruleItem1.getState());
+ assertEquals("TestState2", ruleItem1.getState().getName());
+ }
+ catch(Exception e) {
+ fail("Caught unexpected exception: " + e);
+ }
+ }
+
+ public void testSetStateStateItem() {
+ try {
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/drl1.drl");
+ RuleItem ruleItem1 = this.rulesRepository.addRuleFromFile(drlFile1);
+
+ StateItem stateItem1 = rulesRepository.getState("TestState1");
+ ruleItem1.setState(stateItem1);
+ assertNotNull(ruleItem1.getState());
+ assertEquals(ruleItem1.getState().getName(), "TestState1");
+
+ StateItem stateItem2 = rulesRepository.getState("TestState2");
+ ruleItem1.setState(stateItem2);
+ assertNotNull(ruleItem1.getState());
+ assertEquals("TestState2", ruleItem1.getState().getName());
+ }
+ catch(Exception e) {
+ fail("Caught unexpected exception: " + e);
+ }
+ }
+
+ public void testGetState() {
+ try {
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/drl1.drl");
+ RuleItem ruleItem1 = this.rulesRepository.addRuleFromFile(drlFile1);
+
+ StateItem stateItem1 = ruleItem1.getState();
+ assertNull(stateItem1);
+
+ ruleItem1.setState("TestState1");
+ assertNotNull(ruleItem1.getState());
+ assertEquals("TestState1", ruleItem1.getState().getName());
+ }
+ catch(Exception e) {
+ fail("Caught unexpected exception: " + e);
+ }
+ }
+
+ public void testToString() {
+ try {
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/drl1.drl");
+ RuleItem ruleItem1 = this.rulesRepository.addRuleFromFile(drlFile1);
+
+ assertNotNull(ruleItem1.toString());
+ }
+ catch(Exception e) {
+ fail("Caught unexpected exception: " + e);
+ }
+
+ }
+}
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/RuleItemTestCase.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/RulePackageItemTestCase.java
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/RulePackageItemTestCase.java 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/RulePackageItemTestCase.java 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,256 @@
+package org.drools.repository.test;
+
+import java.io.File;
+import java.util.List;
+
+import org.drools.repository.*;
+
+import junit.framework.TestCase;
+
+public class RulePackageItemTestCase extends TestCase {
+ private RulesRepository rulesRepository;
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ this.rulesRepository = new RulesRepository(true);
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ this.rulesRepository.logout();
+ }
+
+ public void testRulePackageItem() {
+ try {
+ //calls constructor
+ RulePackageItem rulePackageItem1 = this.rulesRepository.createRulePackage("testRulePackage");
+ assertNotNull(rulePackageItem1);
+ assertEquals("testRulePackage", rulePackageItem1.getName());
+ }
+ catch(Exception e) {
+ e.printStackTrace();
+ fail("Caught unexpected exception: " + e);
+ }
+
+ //try constructing with node of wrong type
+ try {
+ File dslFile1 = new File("./src/java/org/drools/repository/test/test_data/dsl1.dsl");
+ DslItem dslItem = rulesRepository.addDslFromFile(dslFile1);
+ RulePackageItem rulePackageItem2 = new RulePackageItem(this.rulesRepository, dslItem.getNode());
+ fail("Exception not thrown for node of type: " + dslItem.getNode().getPrimaryNodeType().getName());
+ }
+ catch(RulesRepositoryException e) {
+ //this is good
+ }
+ catch(Exception e) {
+ e.printStackTrace();
+ fail("Caught unexpected exception: " + e);
+ }
+ }
+
+ public void testAddRuleRuleItem() {
+ try {
+ RulePackageItem rulePackageItem1 = this.rulesRepository.createRulePackage("testRulePackage");
+
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/drl1.drl");
+ RuleItem ruleItem1 = this.rulesRepository.addRuleFromFile(drlFile1);
+
+ rulePackageItem1.addRule(ruleItem1);
+
+ List rules = rulePackageItem1.getRules();
+ assertNotNull(rules);
+ assertEquals(1, rules.size());
+ assertEquals("drl1.drl", ((RuleItem)rules.get(0)).getName());
+
+ //test that it is following the head revision
+ File drlFile2 = new File("./src/java/org/drools/repository/test/test_data/drl3.drl");
+ ruleItem1.updateContentFromFile(drlFile2);
+ rules = rulePackageItem1.getRules();
+ assertNotNull(rules);
+ assertEquals(1, rules.size());
+ assertEquals("drl1.drl", ((RuleItem)rules.get(0)).getName());
+ assertEquals("package org.drools.examples", ((RuleItem)rules.get(0)).getContent());
+
+ File drlFile3 = new File("./src/java/org/drools/repository/test/test_data/drl2.drl");
+ RuleItem ruleItem2 = this.rulesRepository.addRuleFromFile(drlFile3);
+ rulePackageItem1.addRule(ruleItem2);
+
+ rules = rulePackageItem1.getRules();
+ assertNotNull(rules);
+ assertEquals(2, rules.size());
+ }
+ catch(Exception e) {
+ e.printStackTrace();
+ fail("Caught unexpected exception: " + e);
+ }
+ }
+
+ public void testAddRuleRuleItemBoolean() {
+ try {
+ RulePackageItem rulePackageItem1 = this.rulesRepository.createRulePackage("testRulePackage");
+
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/drl1.drl");
+ RuleItem ruleItem1 = this.rulesRepository.addRuleFromFile(drlFile1);
+
+ rulePackageItem1.addRule(ruleItem1, true);
+
+ List rules = rulePackageItem1.getRules();
+ assertNotNull(rules);
+ assertEquals(1, rules.size());
+ assertEquals("drl1.drl", ((RuleItem)rules.get(0)).getName());
+
+ //test that it is following the head revision
+ File drlFile2 = new File("./src/java/org/drools/repository/test/test_data/drl3.drl");
+ ruleItem1.updateContentFromFile(drlFile2);
+ rules = rulePackageItem1.getRules();
+ assertNotNull(rules);
+ assertEquals(1, rules.size());
+ assertEquals("drl1.drl", ((RuleItem)rules.get(0)).getName());
+ assertEquals("package org.drools.examples", ((RuleItem)rules.get(0)).getContent());
+
+ File drlFile3 = new File("./src/java/org/drools/repository/test/test_data/drl2.drl");
+ RuleItem ruleItem2 = this.rulesRepository.addRuleFromFile(drlFile3);
+ rulePackageItem1.addRule(ruleItem2);
+
+ rules = rulePackageItem1.getRules();
+ assertNotNull(rules);
+ assertEquals(2, rules.size());
+
+ //test not following the head revision
+ rulePackageItem1.removeAllRules();
+ RuleItem ruleItem3 = this.rulesRepository.addRuleFromFile(drlFile2);
+
+ rulePackageItem1.addRule(ruleItem1, false);
+
+ rules = rulePackageItem1.getRules();
+ assertNotNull(rules);
+ assertEquals(1, rules.size());
+ assertEquals("package org.drools.examples", ((RuleItem)rules.get(0)).getContent());
+
+ ruleItem1.updateContentFromFile(drlFile1);
+ rules = rulePackageItem1.getRules();
+ assertNotNull(rules);
+ assertEquals(1, rules.size());
+ assertEquals("package org.drools.examples", ((RuleItem)rules.get(0)).getContent());
+ }
+ catch(Exception e) {
+ e.printStackTrace();
+ fail("Caught unexpected exception: " + e);
+ }
+ }
+
+ public void testGetRules() {
+ try {
+ RulePackageItem rulePackageItem1 = this.rulesRepository.createRulePackage("testRulePackage");
+
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/drl1.drl");
+ RuleItem ruleItem1 = this.rulesRepository.addRuleFromFile(drlFile1);
+
+ rulePackageItem1.addRule(ruleItem1);
+
+ List rules = rulePackageItem1.getRules();
+ assertNotNull(rules);
+ assertEquals(1, rules.size());
+ assertEquals("drl1.drl", ((RuleItem)rules.get(0)).getName());
+
+ File drlFile3 = new File("./src/java/org/drools/repository/test/test_data/drl2.drl");
+ RuleItem ruleItem2 = this.rulesRepository.addRuleFromFile(drlFile3);
+ rulePackageItem1.addRule(ruleItem2);
+
+ rules = rulePackageItem1.getRules();
+ assertNotNull(rules);
+ assertEquals(2, rules.size());
+ }
+ catch(Exception e) {
+ e.printStackTrace();
+ fail("Caught unexpected exception: " + e);
+ }
+ }
+
+ public void testToString() {
+ try {
+ RulePackageItem rulePackageItem1 = this.rulesRepository.createRulePackage("testRulePackage");
+
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/drl1.drl");
+ RuleItem ruleItem1 = this.rulesRepository.addRuleFromFile(drlFile1);
+
+ rulePackageItem1.addRule(ruleItem1);
+ assertNotNull(rulePackageItem1.toString());
+ }
+ catch(Exception e) {
+ e.printStackTrace();
+ fail("Caught unexpected exception: " + e);
+ }
+ }
+
+ public void testRemoveRule() {
+ try {
+ RulePackageItem rulePackageItem1 = this.rulesRepository.createRulePackage("testRulePackage");
+
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/drl1.drl");
+ RuleItem ruleItem1 = this.rulesRepository.addRuleFromFile(drlFile1);
+
+ rulePackageItem1.addRule(ruleItem1);
+
+ List rules = rulePackageItem1.getRules();
+ assertNotNull(rules);
+ assertEquals(1, rules.size());
+ assertEquals("drl1.drl", ((RuleItem)rules.get(0)).getName());
+
+ File drlFile2 = new File("./src/java/org/drools/repository/test/test_data/drl3.drl");
+ ruleItem1.updateContentFromFile(drlFile2);
+ rules = rulePackageItem1.getRules();
+ assertNotNull(rules);
+ assertEquals(1, rules.size());
+ assertEquals("drl1.drl", ((RuleItem)rules.get(0)).getName());
+ assertEquals("package org.drools.examples", ((RuleItem)rules.get(0)).getContent());
+
+ File drlFile3 = new File("./src/java/org/drools/repository/test/test_data/drl2.drl");
+ RuleItem ruleItem2 = this.rulesRepository.addRuleFromFile(drlFile3);
+ rulePackageItem1.addRule(ruleItem2);
+
+ //remove the rule, make sure the other rule int the pacakge stays around
+ rulePackageItem1.removeRule(ruleItem1);
+ rules = rulePackageItem1.getRules();
+ assertEquals(1, rules.size());
+ assertEquals("drl2.drl", ((RuleItem)rules.get(0)).getName());
+
+ //remove the rule that is following the head revision, make sure the pacakge is now empty
+ rulePackageItem1.removeRule(ruleItem2);
+ rules = rulePackageItem1.getRules();
+ assertNotNull(rules);
+ assertEquals(0, rules.size());
+
+ }
+ catch(Exception e) {
+ e.printStackTrace();
+ fail("Caught unexpected exception: " + e);
+ }
+ }
+
+ public void testRemoveAllRules() {
+ try {
+ RulePackageItem rulePackageItem1 = this.rulesRepository.createRulePackage("testRulePackage");
+
+ File drlFile1 = new File("./src/java/org/drools/repository/test/test_data/drl1.drl");
+ RuleItem ruleItem1 = this.rulesRepository.addRuleFromFile(drlFile1);
+
+ rulePackageItem1.addRule(ruleItem1);
+
+ List rules = rulePackageItem1.getRules();
+ assertNotNull(rules);
+ assertEquals(1, rules.size());
+ assertEquals("drl1.drl", ((RuleItem)rules.get(0)).getName());
+
+ rulePackageItem1.removeAllRules();
+
+ rules = rulePackageItem1.getRules();
+ assertNotNull(rules);
+ assertEquals(0, rules.size());
+ }
+ catch(Exception e) {
+ e.printStackTrace();
+ fail("Caught unexpected exception: " + e);
+ }
+ }
+}
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/RulePackageItemTestCase.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/RulesRepositoryTestCase.java
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/RulesRepositoryTestCase.java 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/RulesRepositoryTestCase.java 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,217 @@
+package org.drools.repository.test;
+
+import java.io.File;
+
+import org.drools.repository.*;
+
+import junit.framework.TestCase;
+
+public class RulesRepositoryTestCase extends TestCase {
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ }
+
+ public void testRulesRepository() {
+ RulesRepository rulesRepository = null;
+ try {
+ rulesRepository = new RulesRepository(true);
+ }
+ catch(Exception e) {
+ fail("Caught unexpected Exception: " + e);
+ }
+ finally {
+ if(rulesRepository != null) {
+ try {
+ rulesRepository.logout();
+ }
+ catch(Exception e) {
+ fail("Caught unexpected Exception: " + e);
+ }
+ }
+ }
+ }
+
+ public void testLogout() {
+ //this is covered by testRulesRepository() above
+ }
+
+ public void testAddDslFromFile() {
+ //this is covered by the DslItemTestCase
+ }
+
+ public void testAddRuleFromFileFile() {
+ //this is covered by the RuleItemTestCase
+ }
+
+ public void testAddRuleFromFileFileDslItem() {
+ RulesRepository rulesRepository = null;
+ try {
+ rulesRepository = new RulesRepository(true);
+ File dslFile1 = new File("./src/java/org/drools/repository/test/test_data/dsl1.dsl");
+
+ DslItem dslItem1 = rulesRepository.addDslFromFile(dslFile1);
+ assertNotNull(dslItem1);
+
+ File ruleFile1 = new File("./src/java/org/drools/repository/test/test_data/drl2.drl");
+ RuleItem ruleItem1 = rulesRepository.addRuleFromFile(ruleFile1, dslItem1);
+
+ assertNotNull(ruleItem1);
+ assertNotNull(ruleItem1.getNode());
+ assertNotNull(ruleItem1.getDsl());
+ assertEquals(dslItem1.getContent(), ruleItem1.getDsl().getContent());
+
+ //test that this follows the head version
+ File dslFile2 = new File("./src/java/org/drools/repository/test/test_data/dsl2.dsl");
+ dslItem1.updateContentFromFile(dslFile2);
+ assertNotNull(ruleItem1.getNode());
+ assertNotNull(ruleItem1.getDsl());
+ assertEquals(dslItem1.getContent(), ruleItem1.getDsl().getContent());
+ }
+ catch(Exception e) {
+ fail("Unexpected Exception caught: " + e);
+ }
+ finally {
+ if(rulesRepository != null) {
+ try {
+ rulesRepository.logout();
+ }
+ catch(Exception e) {
+ fail("Caught unexpected Exception: " + e);
+ }
+ }
+ }
+ }
+
+ public void testAddRuleFromFileFileDslItemBoolean() {
+ RulesRepository rulesRepository = null;
+ try {
+ rulesRepository = new RulesRepository(true);
+ File dslFile1 = new File("./src/java/org/drools/repository/test/test_data/dsl1.dsl");
+
+ DslItem dslItem1 = rulesRepository.addDslFromFile(dslFile1);
+ assertNotNull(dslItem1);
+
+ File ruleFile1 = new File("./src/java/org/drools/repository/test/test_data/drl2.drl");
+ RuleItem ruleItem1 = rulesRepository.addRuleFromFile(ruleFile1, dslItem1, true);
+
+ assertNotNull(ruleItem1);
+ assertNotNull(ruleItem1.getNode());
+ assertNotNull(ruleItem1.getDsl());
+ assertEquals(dslItem1, ruleItem1.getDsl());
+
+ //test that this follows the head version
+ File dslFile2 = new File("./src/java/org/drools/repository/test/test_data/dsl2.dsl");
+ dslItem1.updateContentFromFile(dslFile2);
+ assertNotNull(ruleItem1.getNode());
+ assertNotNull(ruleItem1.getDsl());
+ assertEquals(ruleItem1.getDsl(), dslItem1);
+
+ //now test not following the head revision
+ rulesRepository.logout();
+ rulesRepository = new RulesRepository(true);
+
+ dslItem1 = rulesRepository.addDslFromFile(dslFile1);
+ assertNotNull(dslItem1);
+
+ ruleItem1 = rulesRepository.addRuleFromFile(ruleFile1, dslItem1, false);
+
+ assertNotNull(ruleItem1);
+ assertNotNull(ruleItem1.getNode());
+ assertNotNull(ruleItem1.getDsl());
+ assertEquals(dslItem1.getContent(), ruleItem1.getDsl().getContent());
+
+ //test that this follows the head version
+ dslItem1.updateContentFromFile(dslFile2);
+ assertNotNull(ruleItem1.getNode());
+ assertNotNull(ruleItem1.getDsl());
+ assertFalse(ruleItem1.getDsl().equals(dslItem1));
+ }
+ catch(Exception e) {
+ fail("Unexpected Exception caught: " + e);
+ }
+ finally {
+ if(rulesRepository != null) {
+ try {
+ rulesRepository.logout();
+ }
+ catch(Exception e) {
+ fail("Caught unexpected Exception: " + e);
+ }
+ }
+ }
+ }
+
+ public void testCreateRulePackage() {
+ //this is covered by RulePackageItemTestCase
+ }
+
+ public void testGetState() {
+ RulesRepository rulesRepository = null;
+ try {
+ rulesRepository = new RulesRepository(true);
+
+ StateItem stateItem1 = rulesRepository.getState("TestState");
+ assertNotNull(stateItem1);
+ assertEquals("TestState", stateItem1.getName());
+
+ StateItem stateItem2 = rulesRepository.getState("TestState");
+ assertNotNull(stateItem2);
+ assertEquals("TestState", stateItem2.getName());
+ assertEquals(stateItem1, stateItem2);
+ }
+ catch(Exception e) {
+ fail("Unexpected Exception caught: " + e);
+ }
+ finally {
+ if(rulesRepository != null) {
+ try {
+ rulesRepository.logout();
+ }
+ catch(Exception e) {
+ fail("Caught unexpected Exception: " + e);
+ }
+ }
+ }
+ }
+
+ public void testGetTag() {
+ RulesRepository rulesRepository = null;
+ try {
+ rulesRepository = new RulesRepository(true);
+
+ TagItem tagItem1 = rulesRepository.getTag("TestTag");
+ assertNotNull(tagItem1);
+ assertEquals("TestTag", tagItem1.getName());
+ assertEquals("TestTag", tagItem1.getFullPath());
+
+ TagItem tagItem2 = rulesRepository.getTag("TestTag");
+ assertNotNull(tagItem2);
+ assertEquals("TestTag", tagItem2.getName());
+ assertEquals(tagItem1, tagItem2);
+
+ //now test getting a tag down in the tag hierarchy
+ TagItem tagItem3 = rulesRepository.getTag("TestTag/TestChildTag1");
+ assertNotNull(tagItem3);
+ assertEquals("TestChildTag1", tagItem3.getName());
+ assertEquals("TestTag/TestChildTag1", tagItem3.getFullPath());
+ }
+ catch(Exception e) {
+ fail("Unexpected Exception caught: " + e);
+ }
+ finally {
+ if(rulesRepository != null) {
+ try {
+ rulesRepository.logout();
+ }
+ catch(Exception e) {
+ fail("Caught unexpected Exception: " + e);
+ }
+ }
+ }
+ }
+}
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/RulesRepositoryTestCase.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/StateItemTestCase.java
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/StateItemTestCase.java 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/StateItemTestCase.java 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,19 @@
+package org.drools.repository.test;
+
+import junit.framework.TestCase;
+
+public class StateItemTestCase extends TestCase {
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ }
+
+ public void testStateItem() {
+ //this is covered by RulesRepositoryTestCase
+ }
+
+}
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/StateItemTestCase.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/TagItemTestCase.java
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/TagItemTestCase.java 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/TagItemTestCase.java 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,115 @@
+package org.drools.repository.test;
+
+import java.util.List;
+
+import org.drools.repository.RulesRepository;
+import org.drools.repository.TagItem;
+
+import junit.framework.TestCase;
+
+public class TagItemTestCase extends TestCase {
+ private RulesRepository rulesRepository = null;
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ rulesRepository = new RulesRepository(true);
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ rulesRepository.logout();
+ }
+
+ public void testTagItem() {
+ try {
+ TagItem tagItem1 = rulesRepository.getTag("TestTag");
+ assertNotNull(tagItem1);
+ assertEquals("TestTag", tagItem1.getName());
+
+ TagItem tagItem2 = rulesRepository.getTag("TestTag");
+ assertNotNull(tagItem2);
+ assertEquals("TestTag", tagItem2.getName());
+ assertEquals(tagItem1, tagItem2);
+ }
+ catch(Exception e) {
+ fail("Unexpected Exception caught: " + e);
+ }
+ }
+
+ public void testGetChildTags() {
+ try {
+ TagItem tagItem1 = rulesRepository.getTag("TestTag");
+ assertNotNull(tagItem1);
+ assertEquals("TestTag", tagItem1.getName());
+
+ List childTags = tagItem1.getChildTags();
+ assertNotNull(childTags);
+ assertEquals(0, childTags.size());
+
+ TagItem childTagItem1 = tagItem1.getChildTag("TestChildTag1");
+ assertNotNull(childTagItem1);
+ assertEquals("TestChildTag1", childTagItem1.getName());
+
+ childTags = tagItem1.getChildTags();
+ assertNotNull(childTags);
+ assertEquals(1, childTags.size());
+ assertEquals("TestChildTag1", ((TagItem)childTags.get(0)).getName());
+
+ TagItem childTagItem2 = tagItem1.getChildTag("TestChildTag2");
+ assertNotNull(childTagItem2);
+ assertEquals("TestChildTag2", childTagItem2.getName());
+
+ childTags = tagItem1.getChildTags();
+ assertNotNull(childTags);
+ assertEquals(2, childTags.size());
+ }
+ catch(Exception e) {
+ fail("Unexpected Exception caught: " + e);
+ }
+ }
+
+ public void testGetChildTag() {
+ try {
+ TagItem tagItem1 = rulesRepository.getTag("TestTag");
+ assertNotNull(tagItem1);
+ assertEquals("TestTag", tagItem1.getName());
+
+ //test that child is added if not already in existence
+ List childTags = tagItem1.getChildTags();
+ assertNotNull(childTags);
+ assertEquals(0, childTags.size());
+
+ TagItem childTagItem1 = tagItem1.getChildTag("TestChildTag1");
+ assertNotNull(childTagItem1);
+ assertEquals("TestChildTag1", childTagItem1.getName());
+
+ //test that if already there, it is returned
+ TagItem childTagItem2 = tagItem1.getChildTag("TestChildTag1");
+ assertNotNull(childTagItem2);
+ assertEquals("TestChildTag1", childTagItem2.getName());
+ assertEquals(childTagItem1, childTagItem2);
+ }
+ catch(Exception e) {
+ fail("Unexpected Exception caught: " + e);
+ }
+ }
+
+ public void testGetFullPath() {
+ try {
+ TagItem tagItem1 = rulesRepository.getTag("TestTag");
+ assertNotNull(tagItem1);
+ assertEquals("TestTag", tagItem1.getFullPath());
+
+ TagItem childTagItem1 = tagItem1.getChildTag("TestChildTag1");
+ assertNotNull(childTagItem1);
+ assertEquals("TestTag/TestChildTag1", childTagItem1.getFullPath());
+
+ TagItem childTagItem2 = childTagItem1.getChildTag("TestChildTag2");
+ assertNotNull(childTagItem2);
+ assertEquals("TestTag/TestChildTag1/TestChildTag2", childTagItem2.getFullPath());
+ }
+ catch(Exception e) {
+ fail("Unexpected Exception caught: " + e);
+ }
+ }
+}
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/TagItemTestCase.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/drl1.drl
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/drl1.drl 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/drl1.drl 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,62 @@
+package org.drools.examples
+
+import org.drools.examples.TroubleTicketExample.Customer;
+import org.drools.examples.TroubleTicketExample.Ticket;
+
+rule "New Ticket"
+ salience 10
+ when
+ customer : Customer( )
+ ticket : Ticket( customer == customer, status == "New" )
+ then
+ System.out.println( "New : " + ticket );
+end
+
+rule "Silver Priority"
+ duration 3000
+ when
+ customer : Customer( subscription == "Silver" )
+ ticket : Ticket( customer == customer, status == "New" )
+ then
+ ticket.setStatus( "Escalate" );
+ modify( ticket );
+end
+
+rule "Gold Priority"
+ duration 1000
+ when
+ customer : Customer( subscription == "Gold" )
+ ticket : Ticket( customer == customer, status == "New" )
+ then
+ ticket.setStatus( "Escalate" );
+ modify( ticket );
+end
+
+rule "Platinum Priority"
+ when
+ customer : Customer( subscription == "Platinum" )
+ ticket : Ticket( customer == customer, status == "New" )
+ then;
+ ticket.setStatus( "Escalate" );
+ modify( ticket );
+end
+
+rule "Escalate"
+ when
+ customer : Customer( )
+ ticket : Ticket( customer == customer, status == "Escalate" )
+ then
+ sendEscalationEmail( customer, ticket );
+end
+
+rule "Done"
+ when
+ customer : Customer( )
+ ticket : Ticket( customer == customer, status == "Done" )
+ then
+ System.out.println( "Done : " + ticket );
+end
+
+function void sendEscalationEmail( Customer customer, Ticket ticket ) {
+ System.out.println( "Email : " + ticket );
+}
\ No newline at end of file
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/drl1.drl
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/drl2.drl
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/drl2.drl 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/drl2.drl 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,61 @@
+package org.drools.examples
+expander ticketing.dsl
+
+
+rule "New Ticket"
+ salience 10
+ when
+ There is a customer ticket with status of "New"
+ then
+ Log "New"
+end
+
+rule "Silver Priorty"
+ #if after a certain time, we still have an issue, then escalate
+ duration 3000
+ when
+ There is a "Silver" customer with a ticket status of "New"
+ then
+ Escalate the ticket
+end
+
+rule "Gold Priority"
+ duration 1000
+ when
+ There is a "Gold" customer with a ticket status of "New"
+ then
+ Escalate the ticket
+end
+
+rule "Platinum Priority"
+ #we don't want to make the high rollers wait !
+ when
+ There is a "Platinum" customer with a ticket status of "New"
+ then
+ Escalate the ticket
+end
+
+
+
+rule "Escalate"
+ when
+ There is a customer ticket with status of "Escalate"
+ then
+ Send escalation email
+end
+
+rule "Done"
+ when
+ There is a customer ticket with status of "Done"
+ then
+ Log "Done"
+end
+
+# This is the same as the non DSL version. This could be kept in another file of course.
+function void sendEscalationEmail( Customer customer, Ticket ticket ) {
+ System.out.println( "Email : " + ticket );
+}
+
+#hey, the imports can appear anywhere !
+import org.drools.examples.TroubleTicketExampleWithDSL.Customer;
+import org.drools.examples.TroubleTicketExampleWithDSL.Ticket;
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/drl2.drl
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/drl3.drl
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/drl3.drl 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/drl3.drl 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1 @@
+package org.drools.examples
\ No newline at end of file
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/drl3.drl
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/dsl1.dsl
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/dsl1.dsl 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/dsl1.dsl 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,6 @@
+#place your comments here - this is just a description for your own purposes.
+[when]There is a customer ticket with status of "{status}"=customer : Customer( ) ticket : Ticket( customer == customer, status == "{status}" )
+[when]There is a "{subscription}" customer with a ticket status of "{status}"=customer : Customer(subscription == "{subscription}") ticket : Ticket( customer == customer, status == "{status}")
+[then]Log "{message}"=System.out.println("{message} " + ticket);
+[then]Escalate the ticket=ticket.setStatus("Escalate"); modify(ticket);
+[then]Send escalation email=sendEscalationEmail( customer, ticket );
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/dsl1.dsl
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/dsl2.dsl
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/dsl2.dsl 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/dsl2.dsl 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1 @@
+[then]Send escalation email=sendEscalationEmail( customer, ticket );
\ No newline at end of file
Property changes on: labs/jbossrules/trunk/drools-repository/src/java/org/drools/repository/test/test_data/dsl2.dsl
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/node_type_definitions/dsl_node_type.cnd
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/node_type_definitions/dsl_node_type.cnd 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/node_type_definitions/dsl_node_type.cnd 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,14 @@
+/* The node type definition for the dsl node type.
+ See http://jackrabbit.apache.org/doc/nodetype/cnd.html for an explanation
+*/
+
+// The namespace declaration
+<drools = 'http://www.jboss.org/drools-repository/1.0'>
+<nt='http://www.jcp.org/jcr/nt/1.0'>
+<mix='http://www.jcp.org/jcr/mix/1.0'>
+
+// Node type name
+[drools:dsl_node_type]
+
+// Supertypes
+> 'nt:file','mix:versionable'
Property changes on: labs/jbossrules/trunk/drools-repository/src/node_type_definitions/dsl_node_type.cnd
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/node_type_definitions/rule_node_type.cnd
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/node_type_definitions/rule_node_type.cnd 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/node_type_definitions/rule_node_type.cnd 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,44 @@
+/* The node type definition for the rule node type.
+ See http://jackrabbit.apache.org/doc/nodetype/cnd.html for an explanation
+*/
+
+// The namespace declaration
+<drools = 'http://www.jboss.org/drools-repository/1.0'>
+<nt='http://www.jcp.org/jcr/nt/1.0'>
+<mix='http://www.jcp.org/jcr/mix/1.0'>
+
+// Node type name
+[drools:rule_node_type]
+
+// Supertypes
+> 'nt:file','mix:versionable'
+
+// Nodes of this node type have a property called 'drools:dsl_reference' of type reference
+- drools:dsl_reference (reference)
+
+// It has an on-parent-version setting of ...
+copy
+
+// the reference must be of one of these types...
+< 'drools:dsl_node_type','nt:version'
+
+// Nodes of this node type have a property called 'drools:tag_reference' of type reference
+- drools:tag_reference (reference)
+
+// It is a multi-value property
+multiple
+
+// It has an on-parent-version setting of ...
+copy
+
+// the reference must be of one of these types...
+< 'drools:tag_node_type'
+
+// Nodes of this node type have a property called 'drools:state_reference' of type reference
+- drools:state_reference (reference)
+
+// It has an on-parent-version setting of ...
+copy
+
+// the reference must be of one of these types...
+< 'drools:state_node_type'
\ No newline at end of file
Property changes on: labs/jbossrules/trunk/drools-repository/src/node_type_definitions/rule_node_type.cnd
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/node_type_definitions/rulepackage_node_type.cnd
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/node_type_definitions/rulepackage_node_type.cnd 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/node_type_definitions/rulepackage_node_type.cnd 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,26 @@
+/* The node type definition for the ruleset node type.
+ See http://jackrabbit.apache.org/doc/nodetype/cnd.html for an explanation
+*/
+
+// The namespace declaration
+<drools = 'http://www.jboss.org/drools-repository/1.0'>
+<nt='http://www.jcp.org/jcr/nt/1.0'>
+<mix='http://www.jcp.org/jcr/mix/1.0'>
+
+// Node type name
+[drools:rulepackage_node_type]
+
+// Supertypes
+> nt:hierarchyNode,'mix:versionable'
+
+// Nodes of this node type have a property called 'drools:rule_reference' of type reference
+- drools:rule_reference (reference)
+
+// and multi-valued
+multiple
+
+// It has an on-parent-version setting of ...
+copy
+
+// the reference must be of one of these types...
+< 'drools:rule_node_type','nt:version'
Property changes on: labs/jbossrules/trunk/drools-repository/src/node_type_definitions/rulepackage_node_type.cnd
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/node_type_definitions/state_node_type.cnd
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/node_type_definitions/state_node_type.cnd 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/node_type_definitions/state_node_type.cnd 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,14 @@
+/* The node type definition for the tag node type.
+ See http://jackrabbit.apache.org/doc/nodetype/cnd.html for an explanation
+*/
+
+// The namespace declaration
+<drools = 'http://www.jboss.org/drools-repository/1.0'>
+<nt='http://www.jcp.org/jcr/nt/1.0'>
+<mix='http://www.jcp.org/jcr/mix/1.0'>
+
+// Node type name
+[drools:state_node_type]
+
+// Supertypes
+> 'nt:hierarchyNode','mix:referenceable'
Property changes on: labs/jbossrules/trunk/drools-repository/src/node_type_definitions/state_node_type.cnd
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossrules/trunk/drools-repository/src/node_type_definitions/tag_node_type.cnd
===================================================================
--- labs/jbossrules/trunk/drools-repository/src/node_type_definitions/tag_node_type.cnd 2006-08-14 15:30:59 UTC (rev 5872)
+++ labs/jbossrules/trunk/drools-repository/src/node_type_definitions/tag_node_type.cnd 2006-08-14 15:58:48 UTC (rev 5873)
@@ -0,0 +1,21 @@
+/* The node type definition for the tag node type.
+ See http://jackrabbit.apache.org/doc/nodetype/cnd.html for an explanation
+*/
+
+// The namespace declaration
+<drools = 'http://www.jboss.org/drools-repository/1.0'>
+<nt='http://www.jcp.org/jcr/nt/1.0'>
+<mix='http://www.jcp.org/jcr/mix/1.0'>
+
+// Node type name
+[drools:tag_node_type]
+
+// Supertypes
+> 'nt:hierarchyNode','mix:referenceable'
+
+// Nodes of this node type have a child node called anything which must be of
+// at least the node type drools:tag_node_type
++ * (drools:tag_node_type)
+
+// and the default primary node type of the child node is...
+= drools:tag_node_type
Property changes on: labs/jbossrules/trunk/drools-repository/src/node_type_definitions/tag_node_type.cnd
___________________________________________________________________
Name: svn:eol-style
+ native
More information about the jboss-svn-commits
mailing list