public ReproduceWorkerJob(int agentId, IAgentHelper agentHelper, IQuery queryHelper, IArtifactQueries artifactQueries, IEnumerable <int> resourceGroupIds, IErrorQueries errorQueries) { AgentId = agentId; AgentHelper = agentHelper; QueryHelper = queryHelper; _artifactQueries = artifactQueries; AgentResourceGroupIds = resourceGroupIds; ErrorQueries = errorQueries; QueueTable = Constant.Tables.ReproduceWorkerQueue; _auditRecordHelper = new AuditRecordHelper(QueryHelper); }
public ReproduceManagerJob(int agentId, IAgentHelper agentHelper, IQuery queryHelper, DateTime processedOnDateTime, IEnumerable <int> resourceGroupIds, IArtifactQueries artifactQueries, Helpers.Utility.IQuery utilityQueryHelper, IErrorQueries errorQueries) { RecordId = 0; WorkspaceArtifactId = -1; AgentId = agentId; AgentHelper = agentHelper; QueryHelper = queryHelper; ProcessedOnDateTime = processedOnDateTime; QueueTable = Constant.Tables.ReproduceManagerQueue; AgentResourceGroupIds = resourceGroupIds; _artifactQueries = artifactQueries; _utilityQueryHelper = utilityQueryHelper; ErrorQueries = errorQueries; }
public ExportWorkerJob(int agentId, IServicesMgr serviceMgr, IAgentHelper agentHelper, IQuery queryHelper, IArtifactQueries artifactQueries, Helpers.Utility.IQuery utilityQueryHelper, DateTime processedOnDateTime, IEnumerable <int> resourceGroupIds, IExportFileCreator exportFileCreator, IErrorQueries errorQueries) { AgentId = agentId; _serviceMgr = serviceMgr; AgentHelper = agentHelper; QueryHelper = queryHelper; _artifactQueries = artifactQueries; _utilityQueryHelper = utilityQueryHelper; ProcessedOnDateTime = processedOnDateTime; AgentResourceGroupIds = resourceGroupIds; _exportFileCreator = exportFileCreator; ErrorQueries = errorQueries; RecordId = 0; WorkspaceArtifactId = -1; QueueTable = Constant.Tables.ExportWorkerQueue; }
public ExportManagerJob(int agentId, IServicesMgr serviceMgr, IAgentHelper agentHelper, IQuery queryHelper, DateTime processedOnDateTime, IEnumerable <int> resourceGroupIds, IArtifactQueries artifactQueries, Helpers.Utility.IQuery utilityQueryHelper, IErrorQueries errorQueries, IMarkupTypeHelper markupTypeHelper) { RecordId = 0; WorkspaceArtifactId = -1; AgentId = agentId; AgentHelper = agentHelper; QueryHelper = queryHelper; ProcessedOnDateTime = processedOnDateTime; QueueTable = Constant.Tables.ExportManagerQueue; AgentResourceGroupIds = resourceGroupIds; _serviceMgr = serviceMgr; _artifactQueries = artifactQueries; _utilityQueryHelper = utilityQueryHelper; _markupTypeHelper = markupTypeHelper; ErrorQueries = errorQueries; }
public ImportManagerJob(int agentId, IAgentHelper agentHelper, IQuery queryHelper, DateTime processedOnDateTime, IEnumerable <int> resourceGroupIds, IArtifactQueries artifactQueries, IImportFileParser importFileParser, IWorkspaceQueries workspaceQueryHelper, IErrorQueries errorQueries, IMarkupTypeHelper markupTypeHelper) { RecordId = 0; WorkspaceArtifactId = -1; AgentId = agentId; AgentHelper = agentHelper; QueryHelper = queryHelper; ProcessedOnDateTime = processedOnDateTime; QueueTable = Constant.Tables.ImportManagerQueue; AgentResourceGroupIds = resourceGroupIds; ArtifactQueries = artifactQueries; ImportFileParser = importFileParser; WorkspaceQueryHelper = workspaceQueryHelper; ErrorQueries = errorQueries; MarkupTypeHelper = markupTypeHelper; }
public ImportWorkerJob(int agentId, IAgentHelper agentHelper, IQuery queryHelper, DateTime processedOnDateTime, IEnumerable <int> resourceGroupIds, IErrorQueries errorQueries, IArtifactQueries artifactQueries, IAuditRecordHelper auditRecordHelper, IMarkupTypeHelper markupTypeHelper) { RecordId = 0; WorkspaceArtifactId = -1; AgentId = agentId; AgentHelper = agentHelper; QueryHelper = queryHelper; QueueTable = Constant.Tables.ImportWorkerQueue; ProcessedOnDateTime = processedOnDateTime; AgentResourceGroupIds = resourceGroupIds; ErrorQueries = errorQueries; ArtifactQueries = artifactQueries; _importedRedactionCount = 0; _skippedRedactionCount = 0; _errorRedactionCount = 0; AuditRecordHelper = auditRecordHelper; MarkupTypeHelper = markupTypeHelper; _executionIdentity = ExecutionIdentity.CurrentUser; }