[jboss-jira] [JBoss JIRA] (DROOLS-947) Replace org.kie.api.runtime.ObjectFilter with an interface for org.kie.api.runtime.ClassObjectFilter

Marco Rietveld (JIRA) issues at jboss.org
Tue Oct 13 07:06:00 EDT 2015


    [ https://issues.jboss.org/browse/DROOLS-947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117686#comment-13117686 ] 

Marco Rietveld commented on DROOLS-947:
---------------------------------------

Mario, I don't mind submiting a PR for this: let me know what you think. 

> Replace org.kie.api.runtime.ObjectFilter with an interface for org.kie.api.runtime.ClassObjectFilter
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DROOLS-947
>                 URL: https://issues.jboss.org/browse/DROOLS-947
>             Project: Drools
>          Issue Type: Task
>          Components: core engine
>    Affects Versions: 6.3.0.Final
>            Reporter: Marco Rietveld
>            Assignee: Mario Fusco
>            Priority: Minor
>
> Because the ObjectFilter interface does not have any get/setters, it's impossible to implement serialization for implemenation of this class. 
> We should either make ObjectFilter implement get/setFilteredClass or otherwise add subinterfaces (ClassObjectFilter, ClassNameObjectFilter) fo this interface, IMHO. 
> There is an ObjectFilter field in the GetObjectsCommand, which will be available for use in the remote API's, because of it's use by the BatchExecutionCommandImpl class. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list