PluginWriterParameter parameter = context.getWriterParameter(); List<MediaMappingInfo> taskMappings = context.getService(MediaService.class) .getMediaMappingsByTask(Long.valueOf(context.taskId()), false) .stream()
List<MediaMappingInfo> list = context.getService(MediaService.class). getMediaMappingsByMediaAndTarget(taskId, record.RSI().getNamespace(), record.RSI().getName(), context.getWriterParameter().getSupportedSourceTypes(), true);