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

Michael Anstis (JIRA) issues at jboss.org
Fri Oct 27 04:35:16 EDT 2017


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

Michael Anstis moved GUVNOR-342 to DROOLS-1850:
-----------------------------------------------

              Project: Drools  (was: Guvnor)
                  Key: DROOLS-1850  (was: GUVNOR-342)
             Workflow: GIT Pull Request workflow   (was: classic default workflow)
          Component/s: Guided Decision Table Editor
                       Guided Rule Editor
                       Guided Template Editor
                           (was: Guided Decision Table)
                           (was: Guided Rule Editor)
                           (was: Guided Rule Templates)
    Affects Version/s: 5.5.0.Final
                           (was: drools-5.0.0)


> 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
>
> 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.5.0#75005)


More information about the jboss-jira mailing list