[jboss-svn-commits] JBL Code SVN: r24824 - labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Jan 20 08:49:16 EST 2009
Author: mark.proctor at jboss.com
Date: 2009-01-20 08:49:16 -0500 (Tue, 20 Jan 2009)
New Revision: 24824
Modified:
labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent/KnowledgeAgentFactory.java
Log:
-fixed javadoc layout
Modified: labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent/KnowledgeAgentFactory.java
===================================================================
--- labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent/KnowledgeAgentFactory.java 2009-01-20 13:45:41 UTC (rev 24823)
+++ labs/jbossrules/trunk/drools-api/src/main/java/org/drools/agent/KnowledgeAgentFactory.java 2009-01-20 13:49:16 UTC (rev 24824)
@@ -29,16 +29,16 @@
* KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase();
*
* KnowledgeAgentConfiguration aconf = KnowledgeAgentFactory.newKnowledgeAgentConfiguration();
- * aconf.setProperty( "drools.agent.scanDirectories",
- * "true" ); // we want to scan directories, not just files, turning this on turns on file scanning
- * aconf.setProperty( "drools.agent.newInstance",
- * "true" ); // resource changes results in a new instance of the KnowledgeBase being built,
- * // this cannot currently be set to false for incremental building
+ * aconf.setProperty( "drools.agent.scanDirectories",
+ * "true" ); // we want to scan directories, not just files, turning this on turns on file scanning
+ * aconf.setProperty( "drools.agent.newInstance",
+ * "true" ); // resource changes results in a new instance of the KnowledgeBase being built,
+ * // this cannot currently be set to false for incremental building
*
- * KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent( "test agent", // the name of the agent
- * kbase, // the rulebase to use, the Agent will also monitor any exist knowledge definitions
- * aconf );
- * kagent.applyChangeSet( ResourceFactory.newUrlResource( url ) ); // resource to the change-set xml for the resources to add
+ * KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent( "test agent", // the name of the agent
+ * kbase, // the rulebase to use, the Agent will also monitor any exist knowledge definitions
+ * aconf );
+ * kagent.applyChangeSet( ResourceFactory.newUrlResource( url ) ); // resource to the change-set xml for the resources to add
* </pre>
*
* KnowledgeAgents can take a empty KnowledgeBase or a populated one. If a populated KnowledgeBase is provided, the KnowledgeAgent
More information about the jboss-svn-commits
mailing list