Object SendRepositoryDispatch.Companion
-
- All Implemented Interfaces:
public class SendRepositoryDispatch.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static SendRepositoryDispatch.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final SendRepositoryDispatchinvoke(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. -
-
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 dispatchtoken- GitHub token with repository permissionsclientPayload- Optional payload data to send with the dispatch eventname- Optional name for the step (defaults to "Repository Dispatch")step- Configuration lambda to customize the step- Returns:
Configured SendRepositoryDispatch instance
-
-
-
-