| Modifier and Type | Method | Description |
|---|---|---|
SourceTrigger |
SourceTrigger.withName(String name) |
Set the name of the trigger.
|
SourceTrigger |
SourceTrigger.withSourceRepository(SourceProperties sourceRepository) |
Set the properties that describes the source(code) for the task.
|
SourceTrigger |
SourceTrigger.withSourceTriggerEvents(List<SourceTriggerEvent> sourceTriggerEvents) |
Set the source event corresponding to the trigger.
|
SourceTrigger |
SourceTrigger.withStatus(TriggerStatus status) |
Set the current status of trigger.
|
| Modifier and Type | Method | Description |
|---|---|---|
List<SourceTrigger> |
TriggerProperties.sourceTriggers() |
Get the collection of triggers based on source code repository.
|
| Modifier and Type | Method | Description |
|---|---|---|
TriggerProperties |
TriggerProperties.withSourceTriggers(List<SourceTrigger> sourceTriggers) |
Set the collection of triggers based on source code repository.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/