Interface SyntheticOpTemplateProvider

All Superinterfaces:
DriverAdapterDecorators

public interface SyntheticOpTemplateProvider extends DriverAdapterDecorators
In the case that no statements are provided for an activity, but a workload description is provided, and the result for no found statements is not simply a matter of tag filtering, an activity may provide its own synthetic ops. This is here primarily to support the classic behavior of stdout until it's functionality is subsumed by standard diagnostic features. Note that this is only valid while an activity uses a single driver, which will change with upcoming API updates.
  • Method Details

    • getSyntheticOpTemplates

      List<OpTemplate> getSyntheticOpTemplates(StmtsDocList stmtsDocList, Map<String,Object> params)
      If a driver adapter supports creating example op templates from bindings, it must implement this method to do so.
      Parameters:
      stmtsDocList - The existing doc structure, which should contain no fully defined op templates, but may contain other elements like bindings
      Returns:
      A list of op templates, size zero or more