Class SourceTriggerDescriptor
java.lang.Object
com.microsoft.azure.management.containerregistry.SourceTriggerDescriptor
The source trigger that caused a run.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the branch name in the repository.commitId()
Get the unique ID that identifies a commit.Get the event type of the trigger.id()
Get the unique ID of the trigger.Get the source control provider type.Get the unique ID that identifies pull request.Get the repository URL.withBranchName
(String branchName) Set the branch name in the repository.withCommitId
(String commitId) Set the unique ID that identifies a commit.withEventType
(String eventType) Set the event type of the trigger.Set the unique ID of the trigger.withProviderType
(String providerType) Set the source control provider type.withPullRequestId
(String pullRequestId) Set the unique ID that identifies pull request.withRepositoryUrl
(String repositoryUrl) Set the repository URL.
-
Constructor Details
-
SourceTriggerDescriptor
public SourceTriggerDescriptor()
-
-
Method Details
-
id
Get the unique ID of the trigger.- Returns:
- the id value
-
withId
Set the unique ID of the trigger.- Parameters:
id
- the id value to set- Returns:
- the SourceTriggerDescriptor object itself.
-
eventType
Get the event type of the trigger.- Returns:
- the eventType value
-
withEventType
Set the event type of the trigger.- Parameters:
eventType
- the eventType value to set- Returns:
- the SourceTriggerDescriptor object itself.
-
commitId
Get the unique ID that identifies a commit.- Returns:
- the commitId value
-
withCommitId
Set the unique ID that identifies a commit.- Parameters:
commitId
- the commitId value to set- Returns:
- the SourceTriggerDescriptor object itself.
-
pullRequestId
Get the unique ID that identifies pull request.- Returns:
- the pullRequestId value
-
withPullRequestId
Set the unique ID that identifies pull request.- Parameters:
pullRequestId
- the pullRequestId value to set- Returns:
- the SourceTriggerDescriptor object itself.
-
repositoryUrl
Get the repository URL.- Returns:
- the repositoryUrl value
-
withRepositoryUrl
Set the repository URL.- Parameters:
repositoryUrl
- the repositoryUrl value to set- Returns:
- the SourceTriggerDescriptor object itself.
-
branchName
Get the branch name in the repository.- Returns:
- the branchName value
-
withBranchName
Set the branch name in the repository.- Parameters:
branchName
- the branchName value to set- Returns:
- the SourceTriggerDescriptor object itself.
-
providerType
Get the source control provider type.- Returns:
- the providerType value
-
withProviderType
Set the source control provider type.- Parameters:
providerType
- the providerType value to set- Returns:
- the SourceTriggerDescriptor object itself.
-