org.kie.internal.builder.fluent

## 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<org.kie.api.runtime.Context,Object> expression)`
    `<E> DataSourceFluent<E,T>` | `createDataSource(Class<E> type)`
    `U` | `dispose()`
    `T` | `getGlobal(String identifier)`
    `<E extends org.kie.api.runtime.rule.RuleUnit> T` | `run(Class<E> unit)`
    `<E extends org.kie.api.runtime.rule.RuleUnit> T` | `run(Supplier<E> unitSupplier)`
    `T` | `setGlobal(String identifier, Object object)`

- - ### Method Detail

    - #### run

          <E extends org.kie.api.runtime.rule.RuleUnit> T run(Class<E> unit)

    - #### run

          <E extends org.kie.api.runtime.rule.RuleUnit> T run(Supplier<E> unitSupplier)

    - #### bindVariableByExpression

          T bindVariableByExpression(String name,
                                     Function<org.kie.api.runtime.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–2019 JBoss by Red Hat. All rights reserved.