FOSSredder 0.5.0
Loading...
Searching...
No Matches
AnalysisPolicy.cpp File Reference

Shared analysis validation helpers. More...

#include "core/domain/policies/AnalysisPolicy.h"
#include <nlohmann/json.hpp>
#include <utility>
Include dependency graph for AnalysisPolicy.cpp:

Go to the source code of this file.

Namespaces

namespace  core
namespace  core::domain
namespace  core::domain::policies
namespace  core::domain::policies::analysis

Functions

bool core::domain::policies::analysis::supportsResultType (const std::string &type)
 Checks whether an analysis type is supported at all.
bool core::domain::policies::analysis::isTabularType (const std::string &type)
 Checks whether an analysis type produces tabular output.
bool core::domain::policies::analysis::isChartLikeType (const std::string &type)
 Checks whether an analysis type produces chart-like output.
bool core::domain::policies::analysis::isExportable (const std::string &type, const std::string &exportFormat)
 Checks whether an analysis type can be exported.
std::string core::domain::policies::analysis::normalizeKey (std::string key)
 Normalizes filter keys used by analysis adjustments.
bool core::domain::policies::analysis::isConfigured (const std::string &type, const std::string &configJson, const std::string &filterSpec, const std::string &exportFormat)
 Checks whether an analysis is sufficiently configured.
std::string core::domain::policies::analysis::resolveOutputType (const std::string &type, const std::string &configJson)
 Resolves the effective output type for an analysis.
std::string core::domain::policies::analysis::resolveExecutionType (const std::string &type)
 Resolves the effective execution type for an analysis.

Detailed Description

Shared analysis validation helpers.

Definition in file AnalysisPolicy.cpp.