RStudio Launcher Plugin SDK
1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
|
Runs jobs on the local machine. More...
#include <LocalJobRunner.hpp>
Public Member Functions | |
LocalJobRunner (const std::string &in_hostname, jobs::JobStatusNotifierPtr in_notifier, std::shared_ptr< LocalJobRepository > in_jobRepository) | |
Constructor. More... | |
Error | initialize () |
Initializes the job runner. More... | |
Error | runJob (api::JobPtr &io_job, bool &out_wasInvalidJob) |
Runs the specified job. More... | |
Runs jobs on the local machine.
rstudio::launcher_plugins::local::LocalJobRunner::LocalJobRunner | ( | const std::string & | in_hostname, |
jobs::JobStatusNotifierPtr | in_notifier, | ||
std::shared_ptr< LocalJobRepository > | in_jobRepository | ||
) |
Constructor.
in_hostname | The hostname of the machine on which jobs will be run (this machine). |
in_notifier | The job status notifier, for posting job status updates. |
in_jobRepository | The job repository, for saving jobs and job output. |
Error rstudio::launcher_plugins::local::LocalJobRunner::initialize | ( | ) |
Error rstudio::launcher_plugins::local::LocalJobRunner::runJob | ( | api::JobPtr & | io_job, |
bool & | out_wasInvalidJob | ||
) |