Beispiel #1
0
 def instantiate(self, workflow):
     element = WorkflowElement.unserialize(workflow.specification)
     self.cache[workflow.id] = (workflow.modified, element)
     return element
Beispiel #2
0
    def _verify_specification(cls, specification):
        if specification is None:
            return

        schema = WorkflowElement.unserialize(specification)
        schema.verify()
Beispiel #3
0
    def _verify_specification(cls, specification):
        if specification is None:
            return

        schema = WorkflowElement.unserialize(specification)
        schema.verify()
Beispiel #4
0
 def instantiate(self, workflow):
     element = WorkflowElement.unserialize(workflow.specification)
     self.cache[workflow.id] = (workflow.modified, element)
     return element