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

## org.drools.runtime.rule
Interface StatelessRuleSession

All Known Subinterfaces:
  StatelessKnowledgeSession

    public interface StatelessRuleSession

This interface is used as part of the StatelessKnowledSession, which is the interface returned from the KnowledgeBase. Please see StatelessKnowledSession for more details on how to use this api.

See Also:
  `StatelessKnowledgeSession`

Method Summary
`void` | `execute(Iterable objects)` Execute a StatelessKnowledSession, iterate the Iterable inserting each of it's elements.
`void` | `execute(Object object)` Execute a StatelessKnowledSession inserting just a single object.

Method Detail

### execute

    void execute(Object object)

  Execute a StatelessKnowledSession inserting just a single object. If a collection (or any other Iterable) or an array is used here, it will be inserted as-is, It will not be iterated and it's internal elements inserted.

  Parameters:
    `object` -

### execute

    void execute(Iterable objects)

  Execute a StatelessKnowledSession, iterate the Iterable inserting each of it's elements. If you have an array, use the Arrays.asList(...) method to make that array Iterable.

  Parameters:
    `objects` -

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

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