logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Event::ExecFlow::Frontend - Abstract base class for custom frontends

Authors

        Jörn Reder <joern at zyn dot de>

Description

       This is an abstract base class and usually not used directly from the application. For daily programming
       the attributes defined in this class are most important, since they are common to all Jobs of the
       Event::ExecFlow framework.

Methods

       [ FIXME: describe all methods in detail ]

Name

       Event::ExecFlow::Frontend - Abstract base class for custom frontends

Object Hierarchy

         Event::ExecFlow

         Event::ExecFlow::Job
         +--- Event::ExecFlow::Job::Group
         +--- Event::ExecFlow::Job::Command
         +--- Event::ExecFlow::Job::Code

         Event::ExecFlow::Frontend
         Event::ExecFlow::Callbacks
         Event::ExecFlow::Scheduler
         +--- Event::ExecFlow::Scheduler::SimpleMax

Pod Errors

       Hey! Theabovedocumenthadsomecodingerrors,whichareexplainedbelow:

       Around line 123:
           Non-ASCII character seen before =encoding in 'Jörn'. Assuming CP1252

perl v5.38.2                                       2024-02-17                     Event::ExecFlow::Frontend(3pm)

Synopsis

         #-- Derived from Event::ExecFlow::Frontend
         my $frontend = MyApp::GUI::Frontent->new();
         my $job      = Event::ExecFlow::Job::Command->new ( ... );
         $frontend->start_job($job);

         #-- Later the following methods are called and need to
         #-- by implemented by you
         $frontend->report_job_start($job);
         $frontend->report_job_progress($job);
         $frontend->report_job_error($job);
         $frontend->report_job_warning($job);
         $frontend->report_job_finished($job);
         $frontend->log($message);

See Also