{
    "mode": "perldoc",
    "parameter": "TAP::Parser::Scheduler::Job",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/TAP%3A%3AParser%3A%3AScheduler%3A%3AJob/json",
    "generated": "2026-07-05T13:51:56Z",
    "synopsis": "use TAP::Parser::Scheduler::Job;",
    "sections": {
        "NAME": {
            "content": "TAP::Parser::Scheduler::Job - A single testing job.\n",
            "subsections": []
        },
        "VERSION": {
            "content": "Version 3.43\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use TAP::Parser::Scheduler::Job;\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Represents a single test 'job'.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "",
            "subsections": [
                {
                    "name": "Class Methods",
                    "content": "\"new\"\nmy $job = TAP::Parser::Scheduler::Job->new(\n$filename, $description\n);\n\nGiven the filename and description of a test as scalars, returns a new\nTAP::Parser::Scheduler::Job object.\n"
                },
                {
                    "name": "Instance Methods",
                    "content": "\"onfinish\"\n$self->onfinish(\\&method).\n\nRegister a closure to be called when this job is destroyed. The callback will be passed the\n\"TAP::Parser::Scheduler::Job\" object as it's only argument.\n\n\"finish\"\n$self->finish;\n\nCalled when a job is complete to unlock it. If a callback has been registered with \"onfinish\",\nit calls it. Otherwise, it does nothing.\n"
                },
                {
                    "name": "Attributes",
                    "content": "$self->filename;\n$self->description;\n$self->context;\n\nThese are all \"getters\" which return the data set for these attributes during object\nconstruction.\n\n\"filename\"\n\"description\"\n\"context\"\n\"asarrayref\"\nFor backwards compatibility in callbacks.\n\n\"isspinner\"\n$self->isspinner;\n\nReturns false indicating that this is a real job rather than a 'spinner'. Spinners are returned\nwhen the scheduler still has pending jobs but can't (because of locking) return one right now.\n"
                }
            ]
        }
    },
    "summary": "TAP::Parser::Scheduler::Job - A single testing job.",
    "flags": [],
    "examples": [],
    "see_also": []
}