[jboss-jira] [JBoss JIRA] (JBRULES-3352) Add the possibility to add an instance of Termination to the TerminationConfig

Patrik Dufresne (JIRA) jira-events at lists.jboss.org
Wed Jan 18 13:27:18 EST 2012


Patrik Dufresne created JBRULES-3352:
----------------------------------------

             Summary: Add the possibility to add an instance of Termination to the TerminationConfig
                 Key: JBRULES-3352
                 URL: https://issues.jboss.org/browse/JBRULES-3352
             Project: Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: drools-planner
    Affects Versions: 5.3.1.Final
         Environment: N/A
            Reporter: Patrik Dufresne
            Assignee: Geoffrey De Smet


The TerminationConfig class doesn't allow the user to sets a custom instance of a Termination. The only function available is to sets a Termination class using TerminationConfig.setTerminationClass(Class<Termination>). The user is then limited to provide a custom termination class that doesn't required any settings. (i.e.: it's not possible to have a Termination with a constructor requiring arguments)

I suggest to add a function similar to other configuration class. e.g.: TerminationConfig.setTermination(Termination) and TerminationConfig.getTermination()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list