FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Store the state of the agent. More...
#include <CompatibilityState.hpp>
Public Member Functions | |
CompatibilityState (const int agentId, const CompatibilityCliOptions &cliOptions) | |
void | setAgentId (const int agentId) |
int | getAgentId () const |
const CompatibilityCliOptions & | getCliOptions () const |
Get the CompatibilityCliOptions set by user. More... | |
const CompatibilityAgent & | getCompatibilityAgent () const |
Private Attributes | |
int | agentId |
const CompatibilityCliOptions | cliOptions |
CompatibilityAgent | compatibilityAgent |
Store the state of the agent.
Definition at line 41 of file CompatibilityState.hpp.
CompatibilityState::CompatibilityState | ( | const int | agentId, |
const CompatibilityCliOptions & | cliOptions | ||
) |
Constructor for State
agentId | Agent ID |
cliOptions | CLI options passed |
Definition at line 14 of file CompatibilityState.cc.
int CompatibilityState::getAgentId | ( | ) | const |
const CompatibilityCliOptions & CompatibilityState::getCliOptions | ( | ) | const |
Get the CompatibilityCliOptions set by user.
Definition at line 72 of file CompatibilityState.cc.
const CompatibilityAgent & CompatibilityState::getCompatibilityAgent | ( | ) | const |
Get the CompatibilityAgent reference
Definition at line 46 of file CompatibilityState.cc.
void CompatibilityState::setAgentId | ( | const int | agentId | ) |
|
private |
Agent id
Definition at line 53 of file CompatibilityState.hpp.
|
private |
CLI options passed
Definition at line 54 of file CompatibilityState.hpp.
|
private |
Compatibility agent object
Definition at line 55 of file CompatibilityState.hpp.