Package org.kie.api.prototype

# Interface PrototypeBuilder

public interface PrototypeBuilder

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static interface`
  `PrototypeBuilder.Creator`
  `static class`
  `PrototypeBuilder.Holder`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `NO_PROTOTYPE`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `PrototypeEvent`
  `asEvent()`
  `PrototypeFact`
  `asFact()`
  `static PrototypeBuilder`
  `prototype(String name)`
  `PrototypeBuilder`
  `withField(String name)`
  `PrototypeBuilder`
  `withField(String name, Class<?> type)`
  `PrototypeBuilder`
  `withField(String name, Class<?> type, Function<PrototypeFactInstance,Object> extractor)`
  `PrototypeBuilder`
  `withField(String name, Function<PrototypeFactInstance,Object> extractor)`

- ## Field Details

  - ### NO_PROTOTYPE

    static final String NO_PROTOTYPE
    See Also:
      - Constant Field Values

- ## Method Details

  - ### prototype

    static PrototypeBuilder prototype(String name)

  - ### withField

    PrototypeBuilder withField(String name)

  - ### withField

    PrototypeBuilder withField(String name, Function<PrototypeFactInstance,Object> extractor)

  - ### withField

    PrototypeBuilder withField(String name, Class<?> type)

  - ### withField

    PrototypeBuilder withField(String name, Class<?> type, Function<PrototypeFactInstance,Object> extractor)

  - ### asFact

    PrototypeFact asFact()

  - ### asEvent

    PrototypeEvent asEvent()