Solved
@del adding @Category(snap = SnapCategory.WRITE) to the class definition will automatically expose the “Execute during preview” checkbox. As @rohithmadhavan stated, behavior can be customized with SuggestExecutionProvider.
See Snap Development Documentation and Snap Development Documentation