public class SourceTriggerDescriptor extends Object
Constructor and Description |
---|
SourceTriggerDescriptor() |
Modifier and Type | Method and Description |
---|---|
String |
branchName()
Get the branch name in the repository.
|
String |
commitId()
Get the unique ID that identifies a commit.
|
String |
eventType()
Get the event type of the trigger.
|
String |
id()
Get the unique ID of the trigger.
|
String |
providerType()
Get the source control provider type.
|
String |
pullRequestId()
Get the unique ID that identifies pull request.
|
String |
repositoryUrl()
Get the repository URL.
|
SourceTriggerDescriptor |
withBranchName(String branchName)
Set the branch name in the repository.
|
SourceTriggerDescriptor |
withCommitId(String commitId)
Set the unique ID that identifies a commit.
|
SourceTriggerDescriptor |
withEventType(String eventType)
Set the event type of the trigger.
|
SourceTriggerDescriptor |
withId(String id)
Set the unique ID of the trigger.
|
SourceTriggerDescriptor |
withProviderType(String providerType)
Set the source control provider type.
|
SourceTriggerDescriptor |
withPullRequestId(String pullRequestId)
Set the unique ID that identifies pull request.
|
SourceTriggerDescriptor |
withRepositoryUrl(String repositoryUrl)
Set the repository URL.
|
public String id()
public SourceTriggerDescriptor withId(String id)
id
- the id value to setpublic String eventType()
public SourceTriggerDescriptor withEventType(String eventType)
eventType
- the eventType value to setpublic String commitId()
public SourceTriggerDescriptor withCommitId(String commitId)
commitId
- the commitId value to setpublic String pullRequestId()
public SourceTriggerDescriptor withPullRequestId(String pullRequestId)
pullRequestId
- the pullRequestId value to setpublic String repositoryUrl()
public SourceTriggerDescriptor withRepositoryUrl(String repositoryUrl)
repositoryUrl
- the repositoryUrl value to setpublic String branchName()
public SourceTriggerDescriptor withBranchName(String branchName)
branchName
- the branchName value to setpublic String providerType()
public SourceTriggerDescriptor withProviderType(String providerType)
providerType
- the providerType value to setCopyright © 2019. All rights reserved.