ePages 6.17.9 - DE_EPAGES/EPagesJ/API/ServiceCheck.pm

Package DE_EPAGES::EPagesJ::API::ServiceCheck

check if ePages J service is up and running with expected version uses the environment variables EPAGESJ_HOST (or 'localhost' if unset) and EPAGESJ_PORT (or '8088' if unset).

Functions

checkEpagesJ
new

checkEpagesJ

check if ePages J service is up and running with expected version uses the environment variables EPAGESJ_HOST (or 'localhost' if unset) and EPAGESJ_PORT (or '8088' if unset).

Syntax
$ServiceCheckHandler->checkEpagesJ($Version);
Input
$Version (string)
epages j version

new

Creates a new ServiceCheckHandler object, responsible for check if ePages J service is up and running with expected version

Syntax
$ServiceCheckHandler = DE_EPAGES::EPagesJ::API::ServiceCheck->new(
    'verbose' => 0,
);
Input
$hOptions (hash)
keys
  • verbose - if 1 all messages where printed

Return
$ServiceCheckHandler (object)
ServiceCheckHandler object