Interface MarkflowPlugin.Registry

Enclosing interface:
MarkflowPlugin

public static interface MarkflowPlugin.Registry
This class holds registered plugins and used to set dependencies.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    <P extends MarkflowPlugin>
    P
    require(Class<P> plugin)
    Creates a dependency and returns that plugin instance.
    <P extends MarkflowPlugin>
    void
    require(Class<P> plugin, Consumer<? super P> action)
    Creates a dependency and consumes that plugin instance