| Modifier and Type | Method and Description |
|---|---|
TriggerBuilder |
actions(List<TriggerType> actions)
Sets the
actions property of this builder. |
Trigger |
build()
Creates a new instance of
Trigger with the values of this builder. |
static TriggerBuilder |
of(ExtensionResourceType resourceTypeId,
List<TriggerType> actions)
Creates a new object initialized with the given values.
|
static TriggerBuilder |
of(Trigger template)
Creates a new object initialized with the fields of the template parameter.
|
TriggerBuilder |
resourceTypeId(ExtensionResourceType resourceTypeId)
Sets the
resourceTypeId property of this builder. |
public TriggerBuilder actions(List<TriggerType> actions)
actions property of this builder.actions - the value for Trigger.getActions()public TriggerBuilder resourceTypeId(ExtensionResourceType resourceTypeId)
resourceTypeId property of this builder.resourceTypeId - the value for Trigger.getResourceTypeId()public Trigger build()
Trigger with the values of this builder.public static TriggerBuilder of(ExtensionResourceType resourceTypeId, List<TriggerType> actions)
resourceTypeId - initial value for the Trigger.getResourceTypeId() propertyactions - initial value for the Trigger.getActions() propertypublic static TriggerBuilder of(Trigger template)
template - the template