perl-DB-JobTask
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-04-30 16:22:00 +01:00
dist Provide output_data setting version of complete/discard and use 2 param db funcs 2025-04-30 16:22:00 +01:00
lib/DB Provide output_data setting version of complete/discard and use 2 param db funcs 2025-04-30 16:22:00 +01:00
LICENSE initial commit 2021-02-21 14:05:16 +00:00
Makefile.PL allow for main value for non-specific primary data 2024-08-05 15:06:22 +01:00
README.md Provide output_data setting version of complete/discard and use 2 param db funcs 2025-04-30 16:22:00 +01:00

NAME

DB::JobTask - perl module for jpig jobtasks

VERSION

version 1.3

SYNOPSIS

DESCRIPTION

This module, along with the DB::JobTask::Controller module provides access to the jpig jobtask subsystem.

There is typically a single, sub-classed which provides methods to handle named jobs. These methods receive one of these DB::JobTask instances with the details of a job.

PROPERTIES

  • task_id
  • jobstate
  • jobname
  • jobclass
  • run_on
  • input_data
  • output_data
  • create_dttm
  • update_dttm

METHODS

  • clone()

    Create duplicate item

  • params()

    Return the input parameters as a perl structure

  • param( name, default )

    Returns an named item from the input parameters, or a default value if the name is not present.

  • set_param( name, value )

    Sets the named input parameter to the provided value.

  • result( ... )

    Set the output result from a set of perl values. Uses the Class::Accessorize-merge_stacked_options> routine to produce the composite structure which is converted to the output_data JSON.

COMPATIBILITY

  • TODO: Template requires Class::Accessorize.

AUTHOR

Bernard Quatermass toolsmith@quatermass.co.uk

COPYRIGHT AND LICENSE

This software is copyright (c) 2021,2025 by Bernard Quatermass.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.