Example #1
0
    def __init__(self, **args):
        Linkable.__init__(self, **args)

        self.type: GatewayType = self.expects(
            args, 'type', GatewayType.Exclusive)

        self.ignore_attrs('type')
Example #2
0
    def __init__(self, **args):
        Linkable.__init__(self, **args)

        self.type: EventType = self.expects(args, 'type', EventType.Start)
        self.definition = self.expects(args, 'definition',
                                       EventDefinition.Default)
        self.attachedTo = self.expects(args, 'attachedTo')
        self.cancelActivity = self.expects(args, 'cancelActivity', True)

        self.ignore_attrs('type', 'definition', 'attachedTo')
Example #3
0
    def __init__(self, **args):
        Linkable.__init__(self, **args)

        self.flag = self.expects(args, 'flag', ActivityFlag.Default)

        self.ignore_attrs('flag')