Package org.optaplanner.core.impl.score.director.drools.testgen.operation

## Class TestGenKieSessionInsert

- java.lang.Object
- - org.optaplanner.core.impl.score.director.drools.testgen.operation.TestGenKieSessionInsert

- All Implemented Interfaces:
    `TestGenKieSessionOperation`

      public class TestGenKieSessionInsert
      extends Object
      implements TestGenKieSessionOperation

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `TestGenKieSessionInsert​(int id, TestGenFact fact)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `TestGenFact` | `getFact()` |
    `void` | `invoke​(org.kie.api.runtime.KieSession kieSession)` |
    `void` | `print​(StringBuilder sb)` |
    `String` | `toString()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### TestGenKieSessionInsert

          public TestGenKieSessionInsert​(int id,
                                         TestGenFact fact)

  - ### Method Detail

    - #### getFact

          public TestGenFact getFact()

    - #### invoke

          public void invoke​(org.kie.api.runtime.KieSession kieSession)

      Specified by:
        `invoke` in interface `TestGenKieSessionOperation`

    - #### print

          public void print​(StringBuilder sb)

      Specified by:
        `print` in interface `TestGenKieSessionOperation`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`