Internal CAPIO-CL Engine storage entity. Each CapioCLEntry is an entry for a given file handled by CAPIO-CL.
More...
#include <engine.h>
|
|
std::string | toJson () const |
| | Serialize this entry to a JSON object returned as string to be sent over network.
|
|
CapioCLEntry & | operator+= (const CapioCLEntry &rhs) |
| | add a new CapioClEntry to this one
|
|
CapioCLEntry | operator+ (const CapioCLEntry &rhs) |
| | add a new CapioClEntry to this one
|
|
bool | operator== (const CapioCLEntry &other) |
| | check for equality of rules
|
|
bool | operator!= (const CapioCLEntry &other) |
| | check for inequality
|
|
|
std::vector< std::string > | producers |
| | Producers of file.
|
|
std::vector< std::string > | consumers |
| | consumers of file
|
|
std::vector< std::filesystem::path > | file_dependencies |
| | Dependencies for Commit.
|
|
std::string | commit_rule = commitRules::ON_TERMINATION |
| | Commit rule.
|
|
std::string | fire_rule = fireRules::UPDATE |
| | Fire rule.
|
|
long | directory_children_count = 0 |
| | Expected number of files in directory.
|
|
long | commit_on_close_count = 0 |
| | Expected close count.
|
|
bool | enable_directory_count_update = true |
| | whether to update or not directory item count
|
|
bool | store_in_memory = false |
| | Store in memory or on the file system.
|
|
bool | permanent = false |
| | whether the file should persiste after workflow termination
|
|
bool | excluded = false |
| | whether to ignore this entry
|
|
bool | is_file = true |
| | whether this entry is a file or a directory
|
Internal CAPIO-CL Engine storage entity. Each CapioCLEntry is an entry for a given file handled by CAPIO-CL.
◆ fromJson()
Generate a new CapioClEntry from a JSON input
- Parameters
-
| in | string with JSON to be parsed |
- Returns
- CapioClEntry with the input values
The documentation for this struct was generated from the following files:
- /home/runner/work/CAPIO-CL/CAPIO-CL/capiocl/engine.h
- /home/runner/work/CAPIO-CL/CAPIO-CL/src/Engine.cpp