Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| KIE API 6.0.0.Beta3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.kie.api.runtime
Class ClassObjectFilter

    java.lang.Object
      org.kie.api.runtime.ClassObjectFilter

All Implemented Interfaces:
  ObjectFilter

    public class ClassObjectFilter

extends Object
implements ObjectFilter

Filters Objects by Class, only accepting Classes of the specified type

Constructor Summary
`ClassObjectFilter(Class clazz)` The Allowed Class type

Method Summary
`boolean` | `accept(Object object)` Returning true means the Iterator accepts, and thus returns, the current Object's Class type.

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)

  Returning true means the Iterator accepts, and thus returns, the current Object's Class type.

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| KIE API 6.0.0.Beta3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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