use of com.hortonworks.streamline.streams.runtime.transform.IdentityTransformRuntime in project streamline by hortonworks.
the class TransformActionRuntime method getTransformRuntimes.
private List<TransformRuntime> getTransformRuntimes(List<Transform> transforms) {
if (transforms == null || transforms.isEmpty()) {
return Collections.<TransformRuntime>singletonList(new IdentityTransformRuntime());
}
List<TransformRuntime> transformRuntimes = new ArrayList<>();
for (Transform transform : transforms) {
TransformRuntime transformRuntime = TransformRuntimeService.get().get(transform);
transformRuntimes.add(transformRuntime);
}
return transformRuntimes;
}
Aggregations