public class SourceTrigger extends Object
| Constructor and Description | 
|---|
SourceTrigger()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
name()
Get the name of the trigger. 
 | 
SourceProperties | 
sourceRepository()
Get the properties that describes the source(code) for the task. 
 | 
List<SourceTriggerEvent> | 
sourceTriggerEvents()
Get the source event corresponding to the trigger. 
 | 
TriggerStatus | 
status()
Get the current status of trigger. 
 | 
SourceTrigger | 
withName(String name)
Set the name of the trigger. 
 | 
SourceTrigger | 
withSourceRepository(SourceProperties sourceRepository)
Set the properties that describes the source(code) for the task. 
 | 
SourceTrigger | 
withSourceTriggerEvents(List<SourceTriggerEvent> sourceTriggerEvents)
Set the source event corresponding to the trigger. 
 | 
SourceTrigger | 
withStatus(TriggerStatus status)
Set the current status of trigger. 
 | 
public SourceProperties sourceRepository()
public SourceTrigger withSourceRepository(SourceProperties sourceRepository)
sourceRepository - the sourceRepository value to setpublic List<SourceTriggerEvent> sourceTriggerEvents()
public SourceTrigger withSourceTriggerEvents(List<SourceTriggerEvent> sourceTriggerEvents)
sourceTriggerEvents - the sourceTriggerEvents value to setpublic TriggerStatus status()
public SourceTrigger withStatus(TriggerStatus status)
status - the status value to setpublic String name()
public SourceTrigger withName(String name)
name - the name value to setCopyright © 2019. All rights reserved.