Interface Webhook.UpdateStages.WithRepositoriesScope

  • All Known Subinterfaces:
    Webhook.Update
    Enclosing interface:
    Webhook.UpdateStages

    public static interface Webhook.UpdateStages.WithRepositoriesScope
    The stage of the webhook definition allowing to specify the scope of repositories where the event can be triggered.
    • Method Detail

      • withRepositoriesScope

        Webhook.Update withRepositoriesScope​(String repositoriesScope)
        Specifies the scope of repositories where the event can be triggered.

        For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest', empty means all events.

        Parameters:
        repositoriesScope - the scope of repositories where the event can be triggered; empty means all events
        Returns:
        the next stage of the resource update