RFR: bot: add Bot.name and WorkItem.botName

Erik Joelsson erikj at openjdk.java.net
Wed May 12 15:43:49 UTC 2021

On Wed, 12 May 2021 13:02:51 GMT, Erik Helin <ehelin at openjdk.org> wrote:

> Hi all,
> please review this patch that adds the methods `Bot.name` and `WorkItem.botName`. These methods are useful when adding metrics to code that deals with Bots and WorkItems (one often wants to create a `"bot"` label). I opted to add `static final` variables to the factories to ensure that names ending up as label values matches the names in the configuration files.
> Thanks,
> Erik

Marked as reviewed by erikj (Reviewer).


PR: https://git.openjdk.java.net/skara/pull/1151

More information about the skara-dev mailing list