Object SendRepositoryDispatch.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • invoke

         final SendRepositoryDispatch invoke(String eventType, StrExp token, Map<String, Object> clientPayload, String name, Function1<SendRepositoryDispatch.DSL, Unit> step)

        Creates and configures a SendRepositoryDispatch instance with Kotlin DSL syntax.

        Parameters:
        eventType - The custom event type that identifies this dispatch
        token - GitHub token with repository permissions
        clientPayload - Optional payload data to send with the dispatch event
        name - Optional name for the step (defaults to "Repository Dispatch")
        step - Configuration lambda to customize the step
        Returns:

        Configured SendRepositoryDispatch instance