| Modifier and Type | Method and Description |
|---|---|
SourceTriggerDescriptor |
SourceTriggerDescriptor.withBranchName(String branchName)
Set the branch name in the repository.
|
SourceTriggerDescriptor |
SourceTriggerDescriptor.withCommitId(String commitId)
Set the unique ID that identifies a commit.
|
SourceTriggerDescriptor |
SourceTriggerDescriptor.withEventType(String eventType)
Set the event type of the trigger.
|
SourceTriggerDescriptor |
SourceTriggerDescriptor.withId(String id)
Set the unique ID of the trigger.
|
SourceTriggerDescriptor |
SourceTriggerDescriptor.withProviderType(String providerType)
Set the source control provider type.
|
SourceTriggerDescriptor |
SourceTriggerDescriptor.withPullRequestId(String pullRequestId)
Set the unique ID that identifies pull request.
|
SourceTriggerDescriptor |
SourceTriggerDescriptor.withRepositoryUrl(String repositoryUrl)
Set the repository URL.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/