org.jboss.drools.guvnor.importgenerator
Class Rule

java.lang.Object
  extended by org.jboss.drools.guvnor.importgenerator.Rule

public class Rule
extends Object

Represents an individual rule within a drl package file found in the file system


Constructor Summary
Rule(String ruleName, String content)
          Std constructor used within the PackageFile parser
 
Method Summary
 String getContent()
           
 String getRuleName()
           
 void setContent(String content)
           
 void setRuleName(String ruleName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rule

public Rule(String ruleName,
            String content)
Std constructor used within the PackageFile parser

Parameters:
ruleName -
content -
Method Detail

getRuleName

public String getRuleName()

setRuleName

public void setRuleName(String ruleName)

getContent

public String getContent()

setContent

public void setContent(String content)


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.