15 agentId(agentId), cliOptions(cliOptions)
53 verbosity(verbosity), json(json), ignoreFilesWithMimeType(ignoreFilesWithMimeType),
54 userId(-1), groupId(-1)
62 verbosity(0), json(false), ignoreFilesWithMimeType(false), userId(-1),
Store the options sent through the CLI.
bool doJsonOutput() const
Check if JSON output is required.
int getGroupId() const
Get the group running the agent.
void setGroupId(const int)
Set the group id.
bool ignoreFilesWithMimeType
int getUserId() const
Get the user running the agent.
bool doignoreFilesWithMimeType() const
Check ignore files with particular mimetype is required.
OjoCliOptions()
Default constructor for OjoCliOptions.
bool isVerbosityDebug() const
Check if verbosity is set.
void setUserId(const int)
Set the user id.
OjoState(const int agentId, const OjoCliOptions &cliOptions)
const OjoAgent & getOjoAgent() const
const OjoCliOptions & getCliOptions() const
Get the OjoCliOptions set by user.
void setAgentId(const int agentId)
const OjoCliOptions cliOptions