add job manager interface

git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3017 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2008-11-30 13:38:52 +00:00
parent e8d16faefa
commit f08626e6b1
2 changed files with 15 additions and 4 deletions

View file

@ -406,3 +406,14 @@ class IServiceProvider(Interface):
""" A party, that is responsible for providing a service. """ A party, that is responsible for providing a service.
""" """
# jobs
class IJobManager(Interface):
""" Collects and executes jobs.
"""
def process():
""" Do what has to be done...
"""

View file

@ -10,14 +10,14 @@ $Id$
>>> v = versions.get('cybertools.util.version') >>> v = versions.get('cybertools.util.version')
>>> v >>> v
cybertools.util.version 0.4-3005 cybertools.util.version 0.4-3014
>>> print v >>> print v
0.4-3005 0.4-3014
>>> v.short >>> v.short
'0.4' '0.4'
>>> v = versions.get('foo') >>> v = versions.get('foo')
>>> v >>> v
foo 0.0-0000 foo 0.0-3014
>>> print v >>> print v
0.0-0000 0.0-3014