preferences = getDatabasePreferences(taskConfig);
intervalBegin = getDateArgument(taskConfig, ARG_INTERVAL_BEGIN, new Date(0));
intervalEnd = getDateArgument(taskConfig, ARG_INTERVAL_END, new Date());
fullHistory = getBooleanArgument(taskConfig, ARG_READ_FULL_HISTORY, DEFAULT_READ_FULL_HISTORY);
return new RunnableChangeSourceManager(
taskConfig.getId(),
new ApidbChangeReader(loginCredentials, preferences, intervalBegin, intervalEnd, fullHistory),
taskConfig.getPipeArgs()
);
}