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::Job - Abstract base class for all job classes

Attributes

       Attributes may be set with the new() constructor passed as a hash and accessed at runtime using the
       common get_ATTR(), set_ATTR() style accessors.

       [ FIXME: describe all attributes in detail ]

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::Job - Abstract base class for all job classes

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 574:
           Non-ASCII character seen before =encoding in 'Jörn'. Assuming CP1252

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

Synopsis

         Event::ExecFlow::Job->new (
           title                => Descriptive title,
           name                 => Internal short name,
           depends_on           => Names of jobs, this job depends on,
           progress_max         => Maximum expected progress value,
           progress_ips         => String to show as "items per second",
           no_progress          => Job has no progress state at all,
           pre_callbacks        => Callbacks executed before job starts,
           post_callbacks       => Callbacks executed after job finished,
           error_callbacks      => Callbacks executed if job had errors,
           warning_callbacks    => Callbacks executed if job had warnings,
           stash                => A custom data hash stored with the job,
         );

See Also