void storeCommandList(const QList<AbstractCommandPtr> &commands, PersistentPool &pool) { pool.store(commands.count()); foreach (const AbstractCommandPtr &cmd, commands) { pool.store(static_cast<quint8>(cmd->type())); pool.store(cmd); }
void RawScanResults::ScanData::load(PersistentPool &pool) { pool.load(scannerId); pool.load(moduleProperties); pool.load(lastScanTime); pool.load(rawScanResult); }
void RawScanResults::ScanData::store(PersistentPool &pool) const { pool.store(scannerId); pool.store(moduleProperties); pool.store(lastScanTime); pool.store(rawScanResult); }
void CommandList::store(PersistentPool &pool) const { pool.store(m_commands.size()); for (const AbstractCommandPtr &cmd : m_commands) { pool.store(static_cast<quint8>(cmd->type())); pool.store(cmd); } }
void ProcessCommand::store(PersistentPool &pool) const { AbstractCommand::store(pool); pool.store(m_program); pool.store(m_arguments); pool.store(m_environment); pool.store(m_workingDir); pool.store(m_stdoutFilterFunction); pool.store(m_stderrFilterFunction); pool.store(m_responseFileUsagePrefix); pool.store(m_maxExitCode); pool.store(m_responseFileThreshold); pool.store(m_responseFileArgumentIndex); pool.store(m_stdoutFilePath); pool.store(m_stderrFilePath); }
void RescuableArtifactData::store(PersistentPool &pool) const { pool.store(timeStamp); pool.store(children); pool.store(propertiesRequestedInPrepareScript); pool.store(propertiesRequestedInCommands); pool.store(propertiesRequestedFromArtifactInPrepareScript); pool.store(propertiesRequestedFromArtifactInCommands); storeCommandList(commands, pool); pool.store(fileTags); pool.store(properties); }
void RescuableArtifactData::load(PersistentPool &pool) { pool.load(timeStamp); pool.load(children); pool.load(propertiesRequestedInPrepareScript); pool.load(propertiesRequestedInCommands); pool.load(propertiesRequestedFromArtifactInPrepareScript); pool.load(propertiesRequestedFromArtifactInCommands); commands = loadCommandList(pool); pool.load(fileTags); pool.load(properties); }
void AbstractCommand::store(PersistentPool &pool) const { pool.store(m_description); pool.store(m_extendedDescription); pool.store(m_highlight); pool.store(m_ignoreDryRun); pool.store(m_silent); pool.store(m_codeLocation); pool.store(m_properties); }
void JavaScriptCommand::load(PersistentPool &pool) { AbstractCommand::load(pool); pool.load(m_sourceCode); }
void ArtifactProperties::store(PersistentPool &pool) const { pool.store(m_fileTagsFilter); pool.store(m_propertyMap); }
void RawScanResult::load(PersistentPool &pool) { pool.load(deps); pool.load(additionalFileTags); }
void RawScanResult::store(PersistentPool &pool) const { pool.store(deps); pool.store(additionalFileTags); }
void RawScanResults::load(PersistentPool &pool) { pool.load(m_rawScanData); }
void RawScanResults::store(PersistentPool &pool) const { pool.store(m_rawScanData); }
void PropertyMapInternal::store(PersistentPool &pool) const { pool.store(m_value); }
void PropertyMapInternal::load(PersistentPool &pool) { m_value = pool.loadVariantMap(); }
void JavaScriptCommand::store(PersistentPool &pool) const { AbstractCommand::store(pool); pool.store(m_sourceCode); }
void PropertyMapInternal::load(PersistentPool &pool) { pool.load(m_value); }
void ArtifactProperties::load(PersistentPool &pool) { pool.load(m_fileTagsFilter); pool.load(m_propertyMap); }