Interface Webhook.UpdateDefinitionStages.WithRepositoriesScope<ParentT>

Type Parameters:
ParentT - the stage of the parent definition to return to after attaching this definition
All Known Subinterfaces:
Webhook.UpdateDefinition<ParentT>, Webhook.UpdateDefinitionStages.WithAttach<ParentT>
Enclosing interface:
Webhook.UpdateDefinitionStages

public static interface Webhook.UpdateDefinitionStages.WithRepositoriesScope<ParentT>
The stage of the webhook definition allowing to specify the scope of repositories where the event can be triggered.
  • Method Details

    • withRepositoriesScope

      Webhook.UpdateDefinitionStages.WithAttach<ParentT> 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 definition