Interface SyntheticOpTemplateProvider
- All Superinterfaces:
DriverAdapterDecorators
- All Known Implementing Classes:
DiagDriverAdapter,StandardActivity,StdoutDriverAdapter,TcpClientDriverAdapter,TcpServerDriverAdapter
It is possible for a DriverAdapter to create op templates using partial information.
For example, the stdout driver can use only bindings to create CSV or JSON style data renderings.
This mechanism is only triggered when:
- No op templates were provided.
- The default driver for an activity implements this method.
This excludes cases where a workload was provided with op templates, but they were all filtered out. In that case, the user should be informed of an error.
-
Method Summary
Modifier and TypeMethodDescriptiongetSyntheticOpTemplates(OpsDocList opsDocList, Map<String, Object> params) If a driver adapter supports creating example op templates from bindings, it must implement this method to do so.
-
Method Details
-
getSyntheticOpTemplates
If a driver adapter supports creating example op templates from bindings, it must implement this method to do so.- Parameters:
opsDocList- 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
-