file-fetcher
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Procrastinator\Job\AbstractPersistentJob Class Reference
Inheritance diagram for Procrastinator\Job\AbstractPersistentJob:
Procrastinator\Job::Job Contracts\HydratableInterface FileFetcher\FileFetcher

Public Member Functions

 run ()
 
 setTimeLimit (int $seconds)
 
- Public Member Functions inherited from Procrastinator\Job::Job
 __construct ()
 
 run ()
 
 setTimeLimit (int $seconds)
 
 getTimeLimit ()
 
 getState ()
 
 getStateProperty (string $property, $default=null)
 
 getResult ()
 
 setStateProperty ( $property, $value)
 
 jsonSerialize ()
 
 setStateProperty ($property, $value)
 
 getTimeLimit ()
 
 getState ()
 
 getStateProperty (string $property, $default=null)
 
 getResult ()
 
 jsonSerialize ()
 

Static Public Member Functions

static get (string $identifier, $storage, array $config=null)
 
- Static Public Member Functions inherited from Procrastinator\Job::Job
static hydrate ( $json)
 
- Static Public Member Functions inherited from Contracts\HydratableInterface
static hydrate (string $json, $instance=null)
 

Protected Member Functions

 __construct (string $identifier, $storage, array $config=null)
 
 setStatus ($status)
 
 setError ($message)
 
 setState ($state)
 
 serializeIgnoreProperties ()
 
- Protected Member Functions inherited from Procrastinator\Job::Job
 runIt ()
 
 runIt ()
 

Protected Attributes

 $identifier
 
 $storage
 

Constructor & Destructor Documentation

◆ __construct()

Procrastinator\Job\AbstractPersistentJob::__construct ( string  $identifier,
  $storage,
array  $config = null 
)
protected

Reimplemented in FileFetcher\FileFetcher.

Member Function Documentation

◆ get()

static Procrastinator\Job\AbstractPersistentJob::get ( string  $identifier,
  $storage,
array  $config = null 
)
static

◆ run()

Procrastinator\Job\AbstractPersistentJob::run ( )

Reimplemented from Procrastinator\Job::Job.

◆ serializeIgnoreProperties()

Procrastinator\Job\AbstractPersistentJob::serializeIgnoreProperties ( )
protected

◆ setError()

Procrastinator\Job\AbstractPersistentJob::setError (   $message)
protected

Reimplemented from Procrastinator\Job::Job.

◆ setState()

Procrastinator\Job\AbstractPersistentJob::setState (   $state)
protected

Reimplemented from Procrastinator\Job::Job.

◆ setStatus()

Procrastinator\Job\AbstractPersistentJob::setStatus (   $status)
protected

Reimplemented from Procrastinator\Job::Job.

◆ setTimeLimit()

Procrastinator\Job\AbstractPersistentJob::setTimeLimit ( int  $seconds)

Reimplemented from Procrastinator\Job::Job.

Reimplemented in FileFetcher\FileFetcher.

Member Data Documentation

◆ $identifier

Procrastinator\Job\AbstractPersistentJob::$identifier
protected

◆ $storage

Procrastinator\Job\AbstractPersistentJob::$storage
protected

The documentation for this class was generated from the following file: