KIE API 6.2.0.Beta1

org.kie.api.runtime
Class ClassObjectFilter

java.lang.Object
  extended by org.kie.api.runtime.ClassObjectFilter
All Implemented Interfaces:
ObjectFilter

public class ClassObjectFilter
extends Object
implements ObjectFilter

Filters objects by class, only accepting objects of the class specified in the constructor


Constructor Summary
ClassObjectFilter(Class clazz)
          The Allowed Class type
 
Method Summary
 boolean accept(Object object)
          Returns true if the Iterator accepts the given object according to its class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassObjectFilter

public ClassObjectFilter(Class clazz)
The Allowed Class type

Parameters:
clazz -
Method Detail

accept

public boolean accept(Object object)
Returns true if the Iterator accepts the given object according to its class.

Specified by:
accept in interface ObjectFilter
Parameters:
object -
Returns:

KIE API 6.2.0.Beta1

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.