Package schrodinger :: Package job :: Module queue :: Class RequirementsJob
[hide private]
[frames] | no frames]

Class RequirementsJob

object --+
         |
        RequirementsJob
Known Subclasses:

This is a base class that indicates a job has special requirements (e.g. runs only on localhost) and shouldn't be run on the general pool of hosts.

Instance Methods [hide private]
 
getRequirements(self, jobdj)
Start a job if the requirements are available.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  requirement = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getRequirements(self, jobdj)

 

Start a job if the requirements are available. If the job was started, return True, if not, return False.