[jboss-jira] [JBoss JIRA] Created: (JBRULES-1935) Add meta-data to control which fact properties are exposed when configuring conditions or actions in a decision table.

Ed Wallen (JIRA) jira-events at lists.jboss.org
Fri Jan 23 16:13:54 EST 2009


Add meta-data to control which fact properties are exposed when configuring conditions or actions in a decision table.
----------------------------------------------------------------------------------------------------------------------

                 Key: JBRULES-1935
                 URL: https://jira.jboss.org/jira/browse/JBRULES-1935
             Project: JBoss Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: drools-guvnor
    Affects Versions: 5.0.0.M5
            Reporter: Ed Wallen
            Assignee: Mark Proctor


I would like to have the control to hide or display properties that are exposed as conditions and actions in guvnor.  I have a utility class that calculates a number for a condition check but when configured in the decision table it is selectable as an action property but I only want it configured for a condition.

Public Class A {
	// Show the following method as a condition property and not an action property
	public int calculateNumber() {
		do some calculation..
		return results.
	}

	// Show the following method as a condition property and not an action and property
	public BigDecimal getBalance() {
		return balance
	}

	// Show the following method as a action property and not an condition property
	public  void assignValue(String value) {
		this.value = value;
	}
}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list