Class FunctionCommand

    • Constructor Detail

      • FunctionCommand

        public FunctionCommand​(org.kie.api.command.ExecutableCommand<?> command,
                               Consumer<Object> function)
    • Method Detail

      • execute

        public Object execute​(org.kie.api.runtime.Context context)
        Specified by:
        execute in interface org.kie.api.command.ExecutableCommand<Object>