public abstract class Trigger<T extends Trigger<T,P>,P extends TriggerProperties> extends EntityPropertiesBuilder<P>
This class contains common data only. In order to define a specific type of trigger one should use the specialised
implementation or, if such is not available, AnyTrigger class.
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
name |
protected boolean |
triggerEnabled |
| Modifier | Constructor and Description |
|---|---|
protected |
Trigger() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract P |
build() |
T |
description(String description)
Sets the trigger description.
|
T |
enabled(boolean taskEnabled)
Enables/disables the trigger.
|
T |
name(String name)
Sets the name of this trigger.
|
protected boolean triggerEnabled
protected String name
protected String description
public T name(String name)
The name property must be specified by user
public T description(String description)
public T enabled(boolean taskEnabled)
protected abstract P build()
build in class EntityPropertiesBuilder<P extends TriggerProperties>Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.