22 #include "jobabstract.h" 25 class ContainerAbstractInterface;
35 static constexpr
int UNASSIGNED_STREAM = -1;
37 FunctionJob(ExecutablePtr executable, std::function<
int()> fun);
41 void setEnvironmentVariable(
const std::string &key,
const std::string &value);
42 std::string toString()
const;
45 std::function<int()> m_command;
Run a C++ function lambda inside a SoftwareContainer.
Abstract class for jobs which get executed inside a container.
Developers guide to adding a config item: