FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
Store the options sent through the CLI. More...
#include <OjoState.hpp>
Public Member Functions | |
bool | isVerbosityDebug () const |
Check if verbosity is set. More... | |
bool | doJsonOutput () const |
Check if JSON output is required. More... | |
bool | doignoreFilesWithMimeType () const |
Check ignore files with particular mimetype is required. More... | |
OjoCliOptions (int verbosity, bool json, bool ignoreFilesWithMimeType) | |
Constructor for OjoCliOptions. More... | |
OjoCliOptions () | |
Default constructor for OjoCliOptions. | |
Private Attributes | |
int | verbosity |
bool | json |
bool | ignoreFilesWithMimeType |
Store the options sent through the CLI.
Definition at line 34 of file OjoState.hpp.
OjoCliOptions::OjoCliOptions | ( | int | verbosity, |
bool | json, | ||
bool | ignoreFilesWithMimeType | ||
) |
Constructor for OjoCliOptions.
verbosity | Verbosity set by CLI |
json | True to get output in JSON format |
ignoreFilesWithMimeType | To ignore files with particular mimetype |
Definition at line 63 of file OjoState.cc.
bool OjoCliOptions::doignoreFilesWithMimeType | ( | ) | const |
Check ignore files with particular mimetype is required.
Definition at line 107 of file OjoState.cc.
bool OjoCliOptions::doJsonOutput | ( | ) | const |
Check if JSON output is required.
Definition at line 98 of file OjoState.cc.
bool OjoCliOptions::isVerbosityDebug | ( | ) | const |
Check if verbosity is set.
Definition at line 89 of file OjoState.cc.
|
private |
Ignore files with particular mimetype
Definition at line 39 of file OjoState.hpp.
|
private |
Whether to generate JSON output
Definition at line 38 of file OjoState.hpp.
|
private |
The verbosity level
Definition at line 37 of file OjoState.hpp.