[jboss-jira] [JBoss JIRA] (DROOLS-1850) Guided decision table: Add meta-data to control which fact properties are exposed when configuring conditions or actions

Jozef Marko (Jira) issues at jboss.org
Mon Mar 25 09:40:03 EDT 2019


     [ https://issues.jboss.org/browse/DROOLS-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jozef Marko reopened DROOLS-1850:
---------------------------------


> Guided decision table: Add meta-data to control which fact properties are exposed when configuring conditions or actions
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DROOLS-1850
>                 URL: https://issues.jboss.org/browse/DROOLS-1850
>             Project: Drools
>          Issue Type: Feature Request
>          Components: Guided Decision Table Editor, Guided Rule Editor, Guided Template Editor
>    Affects Versions: 5.5.0.Final
>            Reporter: Ed Wallen
>            Assignee: Michael Anstis
>            Priority: Major
>
> 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 was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list