Package com.gengoai.sql.object
Class Trigger.TriggerBuilder
- java.lang.Object
-
- com.gengoai.sql.object.Trigger.TriggerBuilder
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Trigger
public static class Trigger.TriggerBuilder extends Object implements Serializable
Builder class for constructing triggers- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TriggerBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Trigger
build()
Build the Trigger instanceTrigger.TriggerBuilder
name(String name)
Set the name of the trigger (if not given one will be autogenerated)
-
-
-
Method Detail
-
build
public Trigger build()
Build the Trigger instance- Returns:
- the trigger
-
name
public Trigger.TriggerBuilder name(String name)
Set the name of the trigger (if not given one will be autogenerated)- Parameters:
name
- the name- Returns:
- the trigger builder
-
-