The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

INTRODUCTION

The status can be:

  • done

    At check phase, indicates the action may continue. At other phases, indicates the worker has completed without error or has no work to do.

  • error

    Indicates that there is an error condition. Also used to quit a worker without side effects that done and defer have.

  • defer

    Quits a worker. If the final recorded outcome for a device is defer several times in a row, then it may be skipped from further jobs.

METHODS

done, error, defer

Shorthand for new() with setting param, accepts log as arg.

noop

Simply logs a message at debug level if passed, and returns true. Used for consistency with other Status class methods but really does nothing.

is_ok

Returns true if status is done.

not_ok

Returns true if status is error or defer.

level

A numeric constant for the status, to allow comparison.