On Fri, Oct 17, 2014 at 11:48 AM, Hakan Tandoğan
<[email protected]> wrote:
> I lose the tight type / purpose coupling between credential
> and consumer.

Not if you use DomainRestrictions (I think).

> as soon as I need a second consumer, I would need to
> duplicate the logic and code for obtaining the list of devices, choosing the
> appropriate ones etc etc etc.

Nothing is blocking you from creating an API plugin to keep this
common code. (Though I would not suggest creating one unless and until
you actually find that you need it. In the meantime perhaps just keep
this stuff in a clearly marked API package in
pushbullet-notifier-plugin.)

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to