org.kie.api.runtime.builder

## Interface RuleUnitFluent<T extends RuleUnitFluent,U>

- All Known Subinterfaces:
    RuleUnitExecutorFluent

      public interface RuleUnitFluent<T extends RuleUnitFluent,U>

  See `RuleUnit` and `RuleUnitExecutor`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `<E> T` | `bindVariable(String name, E variableValue)`
    `T` | `bindVariableByExpression(String name, Function<Context,Object> expression)`
    `<E> DataSourceFluent<E,T>` | `createDataSource(Class<E> type)`
    `U` | `dispose()`
    `T` | `getGlobal(String identifier)`
    `<E extends RuleUnit> T` | `run(Class<E> unit)`
    `<E extends RuleUnit> T` | `run(Supplier<E> unitSupplier)`
    `T` | `setGlobal(String identifier, Object object)`

- - ### Method Detail

    - #### run

          <E extends RuleUnit> T run(Class<E> unit)

    - #### run

          <E extends RuleUnit> T run(Supplier<E> unitSupplier)

    - #### bindVariableByExpression

          T bindVariableByExpression(String name,
                                     Function<Context,Object> expression)

    - #### bindVariable

          <E> T bindVariable(String name,
                             E variableValue)

    - #### createDataSource

          <E> DataSourceFluent<E,T> createDataSource(Class<E> type)

    - #### dispose

          U dispose()

    - #### setGlobal

          T setGlobal(String identifier,
                      Object object)

    - #### getGlobal

          T getGlobal(String identifier)

Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.